Skip to content

Commit f8a0672

Browse files
authored
Merge pull request #175 from codebling/update-default-keybindings-2025-09-12-01-21
Update for VSCode 1.104.0
2 parents 13002b6 + 1382ea7 commit f8a0672

6 files changed

Lines changed: 78 additions & 46 deletions

linux.keybindings.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.103.2 for Linux
1+
// Default Keybindings of Visual Studio Code 1.104.0 for Linux
22

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -522,7 +522,7 @@
522522
{ "key": "ctrl+f", "command": "settings.action.search",
523523
"when": "inSettingsEditor" },
524524
{ "key": "ctrl+i", "command": "settings.action.toggleAiSearch",
525-
"when": "inSettingsEditor" },
525+
"when": "aiSettingResultsAvailable && inSettingsEditor" },
526526
{ "key": "ctrl+/", "command": "toggleExplainMode",
527527
"when": "suggestWidgetVisible" },
528528
{ "key": "ctrl+k f2", "command": "togglePeekWidgetFocus",
@@ -540,9 +540,9 @@
540540
{ "key": "enter", "command": "workbench.action.chat.submit",
541541
"when": "inChatInput" },
542542
{ "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase",
543-
"when": "chatInputHasText && chatRequestIsPaused && inChatInput || chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && chatRequestIsPaused && inChatInput || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
543+
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
544544
{ "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching",
545-
"when": "chatInputHasText && chatRequestIsPaused && inChatInput && chatMode == 'ask' || chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask' || chatPromptFileAttached && chatRequestIsPaused && inChatInput && chatMode == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask'" },
545+
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask'" },
546546
{ "key": "alt+f5", "command": "workbench.action.editor.nextChange",
547547
"when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" },
548548
{ "key": "shift+alt+f5", "command": "workbench.action.editor.previousChange",
@@ -1261,6 +1261,8 @@
12611261
{ "key": "ctrl+escape", "command": "workbench.action.chat.cancel" },
12621262
{ "key": "enter", "command": "workbench.action.chat.editRequests",
12631263
"when": "inChat && !textInputFocus" },
1264+
{ "key": "ctrl+shift+a", "command": "workbench.action.chat.focusConfirmation",
1265+
"when": "accessibilityModeEnabled && chatIsEnabled" },
12641266
{ "key": "ctrl+down", "command": "workbench.action.chat.focusInput",
12651267
"when": "inChat && !inChatInput && !quickChatHasFocus" },
12661268
{ "key": "ctrl+up", "command": "workbench.action.chat.focusInput",
@@ -1273,14 +1275,16 @@
12731275
"when": "chatIsEnabled && inChat" },
12741276
{ "key": "ctrl+alt+i", "command": "workbench.action.chat.open",
12751277
"when": "!chatSetupDisabled && !chatSetupHidden" },
1276-
{ "key": "ctrl+shift+alt+i", "command": "workbench.action.chat.openAgent",
1277-
"when": "config.chat.agent.enabled && !chatSetupDisabled && !chatSetupHidden" },
12781278
{ "key": "ctrl+alt+.", "command": "workbench.action.chat.openModelPicker",
12791279
"when": "chatIsEnabled && inChatInput" },
1280+
{ "key": "ctrl+shift+alt+i", "command": "workbench.action.chat.openagent",
1281+
"when": "config.chat.agent.enabled && !chatSetupDisabled && !chatSetupHidden" },
12801282
{ "key": "ctrl+alt+pageup", "command": "workbench.action.chat.previousCodeBlock",
12811283
"when": "chatIsEnabled && inChat" },
12821284
{ "key": "ctrl+shift+f9", "command": "workbench.action.chat.previousFileTree",
12831285
"when": "chatIsEnabled && inChat" },
1286+
{ "key": "f2", "command": "workbench.action.chat.renameSession",
1287+
"when": "focusedView == 'workbench.view.chat.sessions.local'" },
12841288
{ "key": "delete", "command": "workbench.action.chat.restoreCheckpoint",
12851289
"when": "inChat && !textInputFocus" },
12861290
{ "key": "ctrl+alt+meta+/", "command": "workbench.action.chat.run-in-new-chat.prompt.current",
@@ -1290,7 +1294,7 @@
12901294
{ "key": "alt+meta+/", "command": "workbench.action.chat.run.prompt.current",
12911295
"when": "chatIsEnabled && config.chat.promptFiles && editorTextFocus && resourceSet && resourceLangId == 'prompt'" },
12921296
{ "key": "ctrl+shift+enter", "command": "workbench.action.chat.sendToNewChat",
1293-
"when": "chatInputHasText && chatRequestIsPaused && inChatInput || chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && chatRequestIsPaused && inChatInput || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
1297+
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
12941298
{ "key": "ctrl+i", "command": "workbench.action.chat.startVoiceChat",
12951299
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" },
12961300
{ "key": "ctrl+i", "command": "workbench.action.chat.stopListeningAndSubmit",
@@ -1524,6 +1528,8 @@
15241528
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated || terminalEditorFocus && terminalFocus && terminalProcessSupported" },
15251529
{ "key": "ctrl+shift+`", "command": "workbench.action.terminal.new",
15261530
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" },
1531+
{ "key": "ctrl+shift+alt+`", "command": "workbench.action.terminal.newInNewWindow",
1532+
"when": "terminalHasBeenCreated || terminalProcessSupported" },
15271533
{ "key": "ctrl+shift+c", "command": "workbench.action.terminal.openNativeConsole",
15281534
"when": "!terminalFocus" },
15291535
{ "key": "ctrl+shift+v", "command": "workbench.action.terminal.paste",
@@ -1644,8 +1650,6 @@
16441650
{ "key": "ctrl+numpad0", "command": "workbench.action.zoomReset" },
16451651
{ "key": "ctrl+shift+m", "command": "workbench.actions.view.problems",
16461652
"when": "workbench.panel.markers.view.active" },
1647-
{ "key": "escape", "command": "workbench.actions.workbench.panel.output.clearFilterText",
1648-
"when": "outputFilterFocus" },
16491653
{ "key": "escape", "command": "workbench.banner.focusBanner",
16501654
"when": "bannerFocused" },
16511655
{ "key": "down", "command": "workbench.banner.focusNextAction",

linux.negative.keybindings.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.103.2 for Linux
1+
// Default Keybindings of Visual Studio Code 1.104.0 for Linux
22

33
[
44
{ "key": "escape escape", "command": "-workbench.action.exitZenMode",
@@ -522,7 +522,7 @@
522522
{ "key": "ctrl+f", "command": "-settings.action.search",
523523
"when": "inSettingsEditor" },
524524
{ "key": "ctrl+i", "command": "-settings.action.toggleAiSearch",
525-
"when": "inSettingsEditor" },
525+
"when": "aiSettingResultsAvailable && inSettingsEditor" },
526526
{ "key": "ctrl+/", "command": "-toggleExplainMode",
527527
"when": "suggestWidgetVisible" },
528528
{ "key": "ctrl+k f2", "command": "-togglePeekWidgetFocus",
@@ -540,9 +540,9 @@
540540
{ "key": "enter", "command": "-workbench.action.chat.submit",
541541
"when": "inChatInput" },
542542
{ "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase",
543-
"when": "chatInputHasText && chatRequestIsPaused && inChatInput || chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && chatRequestIsPaused && inChatInput || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
543+
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
544544
{ "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching",
545-
"when": "chatInputHasText && chatRequestIsPaused && inChatInput && chatMode == 'ask' || chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask' || chatPromptFileAttached && chatRequestIsPaused && inChatInput && chatMode == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask'" },
545+
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask' || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress && chatMode == 'ask'" },
546546
{ "key": "alt+f5", "command": "-workbench.action.editor.nextChange",
547547
"when": "editorTextFocus && !textCompareEditorActive && quickDiffDecorationCount != '0'" },
548548
{ "key": "shift+alt+f5", "command": "-workbench.action.editor.previousChange",
@@ -1261,6 +1261,8 @@
12611261
{ "key": "ctrl+escape", "command": "-workbench.action.chat.cancel" },
12621262
{ "key": "enter", "command": "-workbench.action.chat.editRequests",
12631263
"when": "inChat && !textInputFocus" },
1264+
{ "key": "ctrl+shift+a", "command": "-workbench.action.chat.focusConfirmation",
1265+
"when": "accessibilityModeEnabled && chatIsEnabled" },
12641266
{ "key": "ctrl+down", "command": "-workbench.action.chat.focusInput",
12651267
"when": "inChat && !inChatInput && !quickChatHasFocus" },
12661268
{ "key": "ctrl+up", "command": "-workbench.action.chat.focusInput",
@@ -1273,14 +1275,16 @@
12731275
"when": "chatIsEnabled && inChat" },
12741276
{ "key": "ctrl+alt+i", "command": "-workbench.action.chat.open",
12751277
"when": "!chatSetupDisabled && !chatSetupHidden" },
1276-
{ "key": "ctrl+shift+alt+i", "command": "-workbench.action.chat.openAgent",
1277-
"when": "config.chat.agent.enabled && !chatSetupDisabled && !chatSetupHidden" },
12781278
{ "key": "ctrl+alt+.", "command": "-workbench.action.chat.openModelPicker",
12791279
"when": "chatIsEnabled && inChatInput" },
1280+
{ "key": "ctrl+shift+alt+i", "command": "-workbench.action.chat.openagent",
1281+
"when": "config.chat.agent.enabled && !chatSetupDisabled && !chatSetupHidden" },
12801282
{ "key": "ctrl+alt+pageup", "command": "-workbench.action.chat.previousCodeBlock",
12811283
"when": "chatIsEnabled && inChat" },
12821284
{ "key": "ctrl+shift+f9", "command": "-workbench.action.chat.previousFileTree",
12831285
"when": "chatIsEnabled && inChat" },
1286+
{ "key": "f2", "command": "-workbench.action.chat.renameSession",
1287+
"when": "focusedView == 'workbench.view.chat.sessions.local'" },
12841288
{ "key": "delete", "command": "-workbench.action.chat.restoreCheckpoint",
12851289
"when": "inChat && !textInputFocus" },
12861290
{ "key": "ctrl+alt+meta+/", "command": "-workbench.action.chat.run-in-new-chat.prompt.current",
@@ -1290,7 +1294,7 @@
12901294
{ "key": "alt+meta+/", "command": "-workbench.action.chat.run.prompt.current",
12911295
"when": "chatIsEnabled && config.chat.promptFiles && editorTextFocus && resourceSet && resourceLangId == 'prompt'" },
12921296
{ "key": "ctrl+shift+enter", "command": "-workbench.action.chat.sendToNewChat",
1293-
"when": "chatInputHasText && chatRequestIsPaused && inChatInput || chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && chatRequestIsPaused && inChatInput || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
1297+
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress || chatPromptFileAttached && inChatInput && !chatSessionRequestInProgress" },
12941298
{ "key": "ctrl+i", "command": "-workbench.action.chat.startVoiceChat",
12951299
"when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" },
12961300
{ "key": "ctrl+i", "command": "-workbench.action.chat.stopListeningAndSubmit",
@@ -1524,6 +1528,8 @@
15241528
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated || terminalEditorFocus && terminalFocus && terminalProcessSupported" },
15251529
{ "key": "ctrl+shift+`", "command": "-workbench.action.terminal.new",
15261530
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile" },
1531+
{ "key": "ctrl+shift+alt+`", "command": "-workbench.action.terminal.newInNewWindow",
1532+
"when": "terminalHasBeenCreated || terminalProcessSupported" },
15271533
{ "key": "ctrl+shift+c", "command": "-workbench.action.terminal.openNativeConsole",
15281534
"when": "!terminalFocus" },
15291535
{ "key": "ctrl+shift+v", "command": "-workbench.action.terminal.paste",
@@ -1644,8 +1650,6 @@
16441650
{ "key": "ctrl+numpad0", "command": "-workbench.action.zoomReset" },
16451651
{ "key": "ctrl+shift+m", "command": "-workbench.actions.view.problems",
16461652
"when": "workbench.panel.markers.view.active" },
1647-
{ "key": "escape", "command": "-workbench.actions.workbench.panel.output.clearFilterText",
1648-
"when": "outputFilterFocus" },
16491653
{ "key": "escape", "command": "-workbench.banner.focusBanner",
16501654
"when": "bannerFocused" },
16511655
{ "key": "down", "command": "-workbench.banner.focusNextAction",

0 commit comments

Comments
 (0)