Skip to content

Commit e5ff30a

Browse files
authored
Merge pull request #205 from codebling/update-default-keybindings-2026-03-09-13-04
Update for VSCode 1.111.0
2 parents 75c4ef3 + ab8777b commit e5ff30a

6 files changed

Lines changed: 80 additions & 48 deletions

linux.keybindings.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.110.1 for Linux
1+
// Default Keybindings of Visual Studio Code 1.111.0 for Linux
22

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -128,6 +128,8 @@
128128
"when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" },
129129
{ "key": "escape", "command": "workbench.edit.chat.cancel",
130130
"when": "chatSessionCurrentlyEditing && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || chatSessionCurrentlyEditingInput && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible" },
131+
{ "key": "escape", "command": "workbench.action.closeModalEditor",
132+
"when": "editorFocus && editorPartModal" },
131133
{ "key": "ctrl+f", "command": "actions.find",
132134
"when": "editorFocus || editorIsOpen" },
133135
{ "key": "enter", "command": "breakpointWidget.action.acceptInput",
@@ -444,6 +446,8 @@
444446
"when": "editorTextFocus && foldingEnabled" },
445447
{ "key": "escape", "command": "inlayHints.stopReadingLineWithHint",
446448
"when": "isReadingLineWithInlayHints" },
449+
{ "key": "escape", "command": "inlineChat.dismissEditorAffordance",
450+
"when": "editorTextFocus && inlineChatAffordanceVisible && config.inlineChat.affordance == 'editor'" },
447451
{ "key": "tab", "command": "insertSnippet",
448452
"when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" },
449453
{ "key": "ctrl+enter", "command": "interactive.execute",
@@ -853,8 +857,6 @@
853857
"when": "inSearchEditor" },
854858
{ "key": "ctrl+i", "command": "inlineChat.askInChat",
855859
"when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" },
856-
{ "key": "ctrl+i", "command": "inlineChat.holdForSpeech",
857-
"when": "hasSpeechProvider && inlineChatVisible && textInputFocus" },
858860
{ "key": "ctrl+i", "command": "inlineChat.start",
859861
"when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" },
860862
{ "key": "enter", "command": "inlineChat2.keep",
@@ -1308,7 +1310,7 @@
13081310
{ "key": "ctrl+alt+up", "command": "workbench.action.chat.previousUserPrompt",
13091311
"when": "chatIsEnabled && inChat" },
13101312
{ "key": "delete", "command": "workbench.action.chat.restoreCheckpoint",
1311-
"when": "inChat && !textInputFocus" },
1313+
"when": "inChat && !inChatQuestionCarousel && !textInputFocus" },
13121314
{ "key": "ctrl+alt+meta+/", "command": "workbench.action.chat.run-in-new-chat.prompt.current",
13131315
"when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" },
13141316
{ "key": "alt+meta+/", "command": "workbench.action.chat.run.prompt",
@@ -1324,7 +1326,7 @@
13241326
{ "key": "alt+t", "command": "workbench.action.chat.toggleThinkingContentAccessibleView",
13251327
"when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" },
13261328
{ "key": "delete", "command": "workbench.action.chat.undoEdits",
1327-
"when": "inChat && !textInputFocus" },
1329+
"when": "inChat && !inChatQuestionCarousel && !textInputFocus" },
13281330
{ "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" },
13291331
{ "key": "ctrl+k ctrl+w", "command": "workbench.action.closeAllEditors" },
13301332
{ "key": "ctrl+k ctrl+shift+w", "command": "workbench.action.closeAllGroups" },
@@ -1782,9 +1784,9 @@
17821784
{ "key": "ctrl+n", "command": "workbench.action.chat.newChat",
17831785
"when": "chatIsEnabled && inChat && chatLocation == 'panel'" },
17841786
{ "key": "ctrl+enter", "command": "workbench.action.chat.openSessionInEditorGroup",
1785-
"when": "agentSessionsViewerFocused" },
1787+
"when": "agentSessionsViewerFocused && !isSessionsWindow" },
17861788
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.openSessionInNewEditorGroup",
1787-
"when": "agentSessionsViewerFocused" },
1789+
"when": "agentSessionsViewerFocused && !isSessionsWindow" },
17881790
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.skipTool",
17891791
"when": "chatHasToolConfirmation && inChat" },
17901792
{ "key": "ctrl+pagedown", "command": "workbench.action.debug.nextConsole",
@@ -1909,7 +1911,7 @@
19091911
{ "key": "f2", "command": "renameFile",
19101912
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" },
19111913
{ "key": "escape", "command": "workbench.action.closeModalEditor",
1912-
"when": "editorPartModal" },
1914+
"when": "editorPartModal && !editorFocus" },
19131915
{ "key": "f5", "command": "workbench.action.debug.continue",
19141916
"when": "debugState == 'stopped'" },
19151917
{ "key": "f11", "command": "workbench.action.debug.stepInto",
@@ -1974,6 +1976,10 @@
19741976
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected" },
19751977
{ "key": "ctrl+shift+i", "command": "workbench.action.toggleDevTools",
19761978
"when": "isDevelopment" },
1979+
{ "key": "ctrl+f5", "command": "workbench.action.browser.hardReload",
1980+
"when": "browserFocused && activeEditor == 'workbench.editor.browser'" },
1981+
{ "key": "ctrl+shift+r", "command": "workbench.action.browser.hardReload",
1982+
"when": "browserFocused && activeEditor == 'workbench.editor.browser'" },
19771983
{ "key": "f5", "command": "workbench.action.browser.reload",
19781984
"when": "browserFocused && activeEditor == 'workbench.editor.browser'" },
19791985
{ "key": "ctrl+r", "command": "workbench.action.browser.reload",

linux.negative.keybindings.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.110.1 for Linux
1+
// Default Keybindings of Visual Studio Code 1.111.0 for Linux
22

33
[
44
{ "key": "escape escape", "command": "-workbench.action.exitZenMode",
@@ -128,6 +128,8 @@
128128
"when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" },
129129
{ "key": "escape", "command": "-workbench.edit.chat.cancel",
130130
"when": "chatSessionCurrentlyEditing && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || chatSessionCurrentlyEditingInput && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible" },
131+
{ "key": "escape", "command": "-workbench.action.closeModalEditor",
132+
"when": "editorFocus && editorPartModal" },
131133
{ "key": "ctrl+f", "command": "-actions.find",
132134
"when": "editorFocus || editorIsOpen" },
133135
{ "key": "enter", "command": "-breakpointWidget.action.acceptInput",
@@ -444,6 +446,8 @@
444446
"when": "editorTextFocus && foldingEnabled" },
445447
{ "key": "escape", "command": "-inlayHints.stopReadingLineWithHint",
446448
"when": "isReadingLineWithInlayHints" },
449+
{ "key": "escape", "command": "-inlineChat.dismissEditorAffordance",
450+
"when": "editorTextFocus && inlineChatAffordanceVisible && config.inlineChat.affordance == 'editor'" },
447451
{ "key": "tab", "command": "-insertSnippet",
448452
"when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" },
449453
{ "key": "ctrl+enter", "command": "-interactive.execute",
@@ -853,8 +857,6 @@
853857
"when": "inSearchEditor" },
854858
{ "key": "ctrl+i", "command": "-inlineChat.askInChat",
855859
"when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" },
856-
{ "key": "ctrl+i", "command": "-inlineChat.holdForSpeech",
857-
"when": "hasSpeechProvider && inlineChatVisible && textInputFocus" },
858860
{ "key": "ctrl+i", "command": "-inlineChat.start",
859861
"when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" },
860862
{ "key": "enter", "command": "-inlineChat2.keep",
@@ -1308,7 +1310,7 @@
13081310
{ "key": "ctrl+alt+up", "command": "-workbench.action.chat.previousUserPrompt",
13091311
"when": "chatIsEnabled && inChat" },
13101312
{ "key": "delete", "command": "-workbench.action.chat.restoreCheckpoint",
1311-
"when": "inChat && !textInputFocus" },
1313+
"when": "inChat && !inChatQuestionCarousel && !textInputFocus" },
13121314
{ "key": "ctrl+alt+meta+/", "command": "-workbench.action.chat.run-in-new-chat.prompt.current",
13131315
"when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" },
13141316
{ "key": "alt+meta+/", "command": "-workbench.action.chat.run.prompt",
@@ -1324,7 +1326,7 @@
13241326
{ "key": "alt+t", "command": "-workbench.action.chat.toggleThinkingContentAccessibleView",
13251327
"when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" },
13261328
{ "key": "delete", "command": "-workbench.action.chat.undoEdits",
1327-
"when": "inChat && !textInputFocus" },
1329+
"when": "inChat && !inChatQuestionCarousel && !textInputFocus" },
13281330
{ "key": "ctrl+w", "command": "-workbench.action.closeActiveEditor" },
13291331
{ "key": "ctrl+k ctrl+w", "command": "-workbench.action.closeAllEditors" },
13301332
{ "key": "ctrl+k ctrl+shift+w", "command": "-workbench.action.closeAllGroups" },
@@ -1782,9 +1784,9 @@
17821784
{ "key": "ctrl+n", "command": "-workbench.action.chat.newChat",
17831785
"when": "chatIsEnabled && inChat && chatLocation == 'panel'" },
17841786
{ "key": "ctrl+enter", "command": "-workbench.action.chat.openSessionInEditorGroup",
1785-
"when": "agentSessionsViewerFocused" },
1787+
"when": "agentSessionsViewerFocused && !isSessionsWindow" },
17861788
{ "key": "ctrl+alt+enter", "command": "-workbench.action.chat.openSessionInNewEditorGroup",
1787-
"when": "agentSessionsViewerFocused" },
1789+
"when": "agentSessionsViewerFocused && !isSessionsWindow" },
17881790
{ "key": "ctrl+alt+enter", "command": "-workbench.action.chat.skipTool",
17891791
"when": "chatHasToolConfirmation && inChat" },
17901792
{ "key": "ctrl+pagedown", "command": "-workbench.action.debug.nextConsole",
@@ -1909,7 +1911,7 @@
19091911
{ "key": "f2", "command": "-renameFile",
19101912
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" },
19111913
{ "key": "escape", "command": "-workbench.action.closeModalEditor",
1912-
"when": "editorPartModal" },
1914+
"when": "editorPartModal && !editorFocus" },
19131915
{ "key": "f5", "command": "-workbench.action.debug.continue",
19141916
"when": "debugState == 'stopped'" },
19151917
{ "key": "f11", "command": "-workbench.action.debug.stepInto",
@@ -1974,6 +1976,10 @@
19741976
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected" },
19751977
{ "key": "ctrl+shift+i", "command": "-workbench.action.toggleDevTools",
19761978
"when": "isDevelopment" },
1979+
{ "key": "ctrl+f5", "command": "-workbench.action.browser.hardReload",
1980+
"when": "browserFocused && activeEditor == 'workbench.editor.browser'" },
1981+
{ "key": "ctrl+shift+r", "command": "-workbench.action.browser.hardReload",
1982+
"when": "browserFocused && activeEditor == 'workbench.editor.browser'" },
19771983
{ "key": "f5", "command": "-workbench.action.browser.reload",
19781984
"when": "browserFocused && activeEditor == 'workbench.editor.browser'" },
19791985
{ "key": "ctrl+r", "command": "-workbench.action.browser.reload",

0 commit comments

Comments
 (0)