You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve display of "esc" keybinding in the keybindings status bar (#4819)
### PR Description
- For popup windows, the status bar would show `Confirm: <enter> |
Close/Cancel: <esc> | Cancel: <esc>`. Omit the second `<esc>`.
- Don't show the `<esc>` binding in other views when it doesn't do
anything.
- Change the text of the `<esc>` label to show what it does, based on
context. This is very helpful because esc can cancel all sorts of
things, and if several of these things are active at once, it is not
obvious which one will be cancelled first.
Supersedes #4808.
Copy file name to clipboardExpand all lines: docs/keybindings/Keybindings_en.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
24
24
|`` R ``| Refresh | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. |
25
25
|`` + ``| Next screen mode (normal/half/fullscreen) ||
26
26
|`` _ ``| Prev screen mode ||
27
+
|`` <esc> ``| Cancel ||
27
28
|`` ? ``| Open keybindings menu ||
28
29
|`` <c-s> ``| View filter options | View options for filtering the commit log, so that only commits matching the filter are shown. |
29
30
|`` W ``| View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
30
31
|`` <c-e> ``| View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
31
32
|`` q ``| Quit ||
32
-
|`` <esc> ``| Cancel ||
33
33
|`` <c-w> ``| Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
34
34
|`` z ``| Undo | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. |
35
35
|`` <c-z> ``| Redo | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. |
@@ -256,7 +256,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
|`` <c-w> ``| 空白表示の切り替え | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
34
34
|`` z ``| 元に戻す | 最後のgitコマンドを元に戻すために実行するgitコマンドを決定するためにreflogが使用されます。これにはワーキングツリーへの変更は含まれません。コミットのみが考慮されます。 |
Copy file name to clipboardExpand all lines: docs/keybindings/Keybindings_ko.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
24
24
|`` R ``| 새로고침 | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. |
25
25
|`` + ``| 다음 스크린 모드 (normal/half/fullscreen) ||
26
26
|`` _ ``| 이전 스크린 모드 ||
27
+
|`` <esc> ``| 취소 ||
27
28
|`` ? ``| 매뉴 열기 ||
28
29
|`` <c-s> ``| View filter-by-path options | View options for filtering the commit log, so that only commits matching the filter are shown. |
29
30
|`` W ``| Diff 메뉴 열기 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
30
31
|`` <c-e> ``| Diff 메뉴 열기 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
31
32
|`` q ``| 종료 ||
32
-
|`` <esc> ``| 취소 ||
33
33
|`` <c-w> ``| 공백문자를 Diff 뷰에서 표시 여부 전환 | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
34
34
|`` z ``| 되돌리기 (reflog) (실험적) | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. |
35
35
|`` <c-z> ``| 다시 실행 (reflog) (실험적) | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. |
@@ -128,7 +128,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
Copy file name to clipboardExpand all lines: docs/keybindings/Keybindings_nl.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
24
24
|`` R ``| Verversen | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. |
25
25
|`` + ``| Volgende scherm modus (normaal/half/groot) ||
26
26
|`` _ ``| Vorige scherm modus ||
27
+
|`` <esc> ``| Annuleren ||
27
28
|`` ? ``| Open menu ||
28
29
|`` <c-s> ``| Bekijk scoping opties | View options for filtering the commit log, so that only commits matching the filter are shown. |
29
30
|`` W ``| Open diff menu | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
30
31
|`` <c-e> ``| Open diff menu | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
31
32
|`` q ``| Quit ||
32
-
|`` <esc> ``| Annuleren ||
33
33
|`` <c-w> ``| Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
34
34
|`` z ``| Ongedaan maken (via reflog) (experimenteel) | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. |
35
35
|`` <c-z> ``| Redo (via reflog) (experimenteel) | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. |
Copy file name to clipboardExpand all lines: docs/keybindings/Keybindings_pl.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ _Legenda: `<c-b>` oznacza ctrl+b, `<a-b>` oznacza alt+b, `B` oznacza shift+b_
24
24
|`` R ``| Odśwież | Odśwież stan git (tj. uruchom `git status`, `git branch`, itp. w tle, aby zaktualizować zawartość paneli). To nie uruchamia `git fetch`. |
25
25
|`` + ``| Następny tryb ekranu (normalny/półpełny/pełnoekranowy) ||
26
26
|`` _ ``| Poprzedni tryb ekranu ||
27
+
|`` <esc> ``| Anuluj ||
27
28
|`` ? ``| Otwórz menu przypisań klawiszy ||
28
29
|`` <c-s> ``| Pokaż opcje filtrowania | Pokaż opcje filtrowania dziennika commitów, tak aby pokazywane były tylko commity pasujące do filtra. |
29
30
|`` W ``| Pokaż opcje różnicowania | Pokaż opcje dotyczące różnicowania dwóch refów, np. różnicowanie względem wybranego refa, wprowadzanie refa do różnicowania i odwracanie kierunku różnic. |
30
31
|`` <c-e> ``| Pokaż opcje różnicowania | Pokaż opcje dotyczące różnicowania dwóch refów, np. różnicowanie względem wybranego refa, wprowadzanie refa do różnicowania i odwracanie kierunku różnic. |
31
32
|`` q ``| Wyjdź ||
32
-
|`` <esc> ``| Anuluj ||
33
33
|`` <c-w> ``| Przełącz białe znaki | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
34
34
|`` z ``| Cofnij | Dziennik reflog zostanie użyty do określenia, jakie polecenie git należy uruchomić, aby cofnąć ostatnie polecenie git. Nie obejmuje to zmian w drzewie roboczym; brane są pod uwagę tylko commity. |
35
35
|`` <c-z> ``| Ponów | Dziennik reflog zostanie użyty do określenia, jakie polecenie git należy uruchomić, aby ponowić ostatnie polecenie git. Nie obejmuje to zmian w drzewie roboczym; brane są pod uwagę tylko commity. |
@@ -159,7 +159,7 @@ _Legenda: `<c-b>` oznacza ctrl+b, `<a-b>` oznacza alt+b, `B` oznacza shift+b_
Copy file name to clipboardExpand all lines: docs/keybindings/Keybindings_pt.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
24
24
|`` R ``| Atualizar | Atualize o estado do git (ou seja, execute `git status`, `git branch`, etc em segundo plano para atualizar o conteúdo de painéis). Isso não executa `git fetch`. |
25
25
|`` + ``| Next screen mode (normal/half/fullscreen) ||
26
26
|`` _ ``| Prev screen mode ||
27
+
|`` <esc> ``| Cancelar ||
27
28
|`` ? ``| Open keybindings menu ||
28
29
|`` <c-s> ``| View filter options | View options for filtering the commit log, so that only commits matching the filter are shown. |
29
30
|`` W ``| View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
30
31
|`` <c-e> ``| View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
31
32
|`` q ``| Sair ||
32
-
|`` <esc> ``| Cancelar ||
33
33
|`` <c-w> ``| Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
34
34
|`` z ``| Desfazer | O reflog será usado para determinar qual comando git para executar para desfazer o último comando git. Isto não inclui mudanças na árvore de trabalho; apenas compromissos são tidos em consideração. |
35
35
|`` <c-z> ``| Refazer | O reflog será usado para determinar qual comando git para executar para refazer o último comando git. Isto não inclui mudanças na árvore de trabalho; apenas compromissos são tidos em consideração. |
@@ -221,7 +221,7 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
Copy file name to clipboardExpand all lines: docs/keybindings/Keybindings_ru.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ _Связки клавиш_
24
24
|`` R ``| Обновить | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. |
25
25
|`` + ``| Следующий режим экрана (нормальный/полуэкранный/полноэкранный) ||
26
26
|`` _ ``| Предыдущий режим экрана ||
27
+
|`` <esc> ``| Отменить ||
27
28
|`` ? ``| Открыть меню ||
28
29
|`` <c-s> ``| Просмотреть параметры фильтрации по пути | View options for filtering the commit log, so that only commits matching the filter are shown. |
29
30
|`` W ``| Открыть меню сравнении | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
30
31
|`` <c-e> ``| Открыть меню сравнении | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
31
32
|`` q ``| Выйти ||
32
-
|`` <esc> ``| Отменить ||
33
33
|`` <c-w> ``| Переключить отображение изменении пробелов в просмотрщике сравнении | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
34
34
|`` z ``| Отменить (через reflog) (экспериментальный) | Журнал ссылок (reflog) будет использоваться для определения того, какую команду git запустить, чтобы отменить последнюю команду git. Сюда не входят изменения в рабочем дереве; учитываются только коммиты. |
35
35
|`` <c-z> ``| Повторить (через reflog) (экспериментальный) | Журнал ссылок (reflog) будет использоваться для определения того, какую команду git нужно запустить, чтобы повторить последнюю команду git. Сюда не входят изменения в рабочем дереве; учитываются только коммиты. |
|`` <c-w> ``| 切换是否在差异视图中显示空白字符差异 | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
34
34
|`` z ``| 撤销 | Reflog将用于确定运行哪个git命令来撤消最后一个git命令。这并不包括对工作树的更改,只考虑提交。 |
|`` R ``| 重新整理 | Refresh the git state (i.e. run `git status`, `git branch`, etc in background to update the contents of panels). This does not run `git fetch`. |
25
25
|`` + ``| 下一個螢幕模式(常規/半螢幕/全螢幕) ||
26
26
|`` _ ``| 上一個螢幕模式 ||
27
+
|`` <esc> ``| 取消 ||
27
28
|`` ? ``| 開啟選單 ||
28
29
|`` <c-s> ``| 檢視篩選路徑選項 | View options for filtering the commit log, so that only commits matching the filter are shown. |
29
30
|`` W ``| 開啟差異比較選單 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
30
31
|`` <c-e> ``| 開啟差異比較選單 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. |
31
32
|`` q ``| 結束 ||
32
-
|`` <esc> ``| 取消 ||
33
33
|`` <c-w> ``| 切換是否在差異檢視中顯示空格變更 | Toggle whether or not whitespace changes are shown in the diff view.<br><br>The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. |
0 commit comments