Skip to content

Commit ba21fd4

Browse files
authored
Merge pull request #212 from codebling/update-default-keybindings-2026-04-22-13-28
Update for VSCode 1.117.0
2 parents d18dafc + b4173ef commit ba21fd4

6 files changed

Lines changed: 32 additions & 24 deletions

linux.keybindings.json

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

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -545,7 +545,7 @@
545545
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
546546
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
547547
{ "key": "enter", "command": "workbench.action.chat.submit",
548-
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" },
548+
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
549549
{ "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase",
550550
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
551551
{ "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching",
@@ -1277,7 +1277,7 @@
12771277
{ "key": "ctrl+up", "command": "widgetNavigation.focusPrevious",
12781278
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
12791279
{ "key": "escape", "command": "workbench.action.browser.addElementToChat",
1280-
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1280+
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
12811281
{ "key": "ctrl+l", "command": "workbench.action.browser.focusUrlInput",
12821282
"when": "activeEditor == 'workbench.editor.browser'" },
12831283
{ "key": "ctrl+alt+/", "command": "workbench.action.browser.openFromViewMenu" },
@@ -1959,7 +1959,7 @@
19591959
{ "key": "right", "command": "quickInput.acceptInBackground",
19601960
"when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" },
19611961
{ "key": "ctrl+shift+c", "command": "workbench.action.browser.addElementToChat",
1962-
"when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1962+
"when": "browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
19631963
{ "key": "ctrl+enter", "command": "workbench.action.browser.addFocusedElementToChat",
19641964
"when": "browserElementSelectionActive && browserFocused" },
19651965
{ "key": "browserback", "command": "workbench.action.browser.goBack",

linux.negative.keybindings.json

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

33
[
44
{ "key": "escape escape", "command": "-workbench.action.exitZenMode",
@@ -545,7 +545,7 @@
545545
{ "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal",
546546
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
547547
{ "key": "enter", "command": "-workbench.action.chat.submit",
548-
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" },
548+
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
549549
{ "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase",
550550
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
551551
{ "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching",
@@ -1277,7 +1277,7 @@
12771277
{ "key": "ctrl+up", "command": "-widgetNavigation.focusPrevious",
12781278
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
12791279
{ "key": "escape", "command": "-workbench.action.browser.addElementToChat",
1280-
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1280+
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
12811281
{ "key": "ctrl+l", "command": "-workbench.action.browser.focusUrlInput",
12821282
"when": "activeEditor == 'workbench.editor.browser'" },
12831283
{ "key": "ctrl+alt+/", "command": "-workbench.action.browser.openFromViewMenu" },
@@ -1959,7 +1959,7 @@
19591959
{ "key": "right", "command": "-quickInput.acceptInBackground",
19601960
"when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" },
19611961
{ "key": "ctrl+shift+c", "command": "-workbench.action.browser.addElementToChat",
1962-
"when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1962+
"when": "browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
19631963
{ "key": "ctrl+enter", "command": "-workbench.action.browser.addFocusedElementToChat",
19641964
"when": "browserElementSelectionActive && browserFocused" },
19651965
{ "key": "browserback", "command": "-workbench.action.browser.goBack",

macos.keybindings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.116.0 for macOS
1+
// Default Keybindings of Visual Studio Code 1.117.0 for macOS
22

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -617,7 +617,7 @@
617617
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
618618
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
619619
{ "key": "enter", "command": "workbench.action.chat.submit",
620-
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" },
620+
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
621621
{ "key": "cmd+enter", "command": "workbench.action.chat.submitWithCodebase",
622622
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
623623
{ "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching",
@@ -1425,7 +1425,7 @@
14251425
{ "key": "cmd+up", "command": "widgetNavigation.focusPrevious",
14261426
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
14271427
{ "key": "escape", "command": "workbench.action.browser.addElementToChat",
1428-
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1428+
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
14291429
{ "key": "cmd+l", "command": "workbench.action.browser.focusUrlInput",
14301430
"when": "activeEditor == 'workbench.editor.browser'" },
14311431
{ "key": "alt+cmd+/", "command": "workbench.action.browser.openFromViewMenu" },
@@ -2160,7 +2160,7 @@
21602160
{ "key": "right", "command": "quickInput.acceptInBackground",
21612161
"when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" },
21622162
{ "key": "shift+cmd+c", "command": "workbench.action.browser.addElementToChat",
2163-
"when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
2163+
"when": "browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
21642164
{ "key": "cmd+enter", "command": "workbench.action.browser.addFocusedElementToChat",
21652165
"when": "browserElementSelectionActive && browserFocused" },
21662166
{ "key": "cmd+left", "command": "workbench.action.browser.goBack",

macos.negative.keybindings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.116.0 for macOS
1+
// Default Keybindings of Visual Studio Code 1.117.0 for macOS
22

33
[
44
{ "key": "escape escape", "command": "-workbench.action.exitZenMode",
@@ -617,7 +617,7 @@
617617
{ "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal",
618618
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
619619
{ "key": "enter", "command": "-workbench.action.chat.submit",
620-
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" },
620+
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
621621
{ "key": "cmd+enter", "command": "-workbench.action.chat.submitWithCodebase",
622622
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
623623
{ "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching",
@@ -1425,7 +1425,7 @@
14251425
{ "key": "cmd+up", "command": "-widgetNavigation.focusPrevious",
14261426
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
14271427
{ "key": "escape", "command": "-workbench.action.browser.addElementToChat",
1428-
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1428+
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
14291429
{ "key": "cmd+l", "command": "-workbench.action.browser.focusUrlInput",
14301430
"when": "activeEditor == 'workbench.editor.browser'" },
14311431
{ "key": "alt+cmd+/", "command": "-workbench.action.browser.openFromViewMenu" },
@@ -2160,7 +2160,7 @@
21602160
{ "key": "right", "command": "-quickInput.acceptInBackground",
21612161
"when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" },
21622162
{ "key": "shift+cmd+c", "command": "-workbench.action.browser.addElementToChat",
2163-
"when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
2163+
"when": "browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
21642164
{ "key": "cmd+enter", "command": "-workbench.action.browser.addFocusedElementToChat",
21652165
"when": "browserElementSelectionActive && browserFocused" },
21662166
{ "key": "cmd+left", "command": "-workbench.action.browser.goBack",

windows.keybindings.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Default Keybindings of Visual Studio Code 1.116.0 for Windows
1+
// Default Keybindings of Visual Studio Code 1.117.0 for Windows
22

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -154,6 +154,8 @@
154154
"when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" },
155155
{ "key": "ctrl+up", "command": "chat.action.focus",
156156
"when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" },
157+
{ "key": "escape", "command": "chat.models.action.clearSearchResults",
158+
"when": "inModelsEditor && inModelsSearch" },
157159
{ "key": "shift+escape", "command": "closeBreakpointWidget",
158160
"when": "breakpointWidgetVisible && textInputFocus" },
159161
{ "key": "escape", "command": "closeBreakpointWidget",
@@ -553,7 +555,7 @@
553555
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
554556
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
555557
{ "key": "enter", "command": "workbench.action.chat.submit",
556-
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff" },
558+
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
557559
{ "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase",
558560
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
559561
{ "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching",
@@ -1281,7 +1283,7 @@
12811283
{ "key": "ctrl+up", "command": "widgetNavigation.focusPrevious",
12821284
"when": "inputFocus && navigableContainerFocused || navigableContainerFocused && treestickyScrollFocused || navigableContainerFocused && !listFocus || navigableContainerFocused && listScrollAtBoundary == 'both' || navigableContainerFocused && listScrollAtBoundary == 'top'" },
12831285
{ "key": "escape", "command": "workbench.action.browser.addElementToChat",
1284-
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1286+
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
12851287
{ "key": "ctrl+l", "command": "workbench.action.browser.focusUrlInput",
12861288
"when": "activeEditor == 'workbench.editor.browser'" },
12871289
{ "key": "ctrl+alt+/", "command": "workbench.action.browser.openFromViewMenu" },
@@ -1710,6 +1712,8 @@
17101712
{ "key": "ctrl+numpad0", "command": "workbench.action.zoomReset" },
17111713
{ "key": "ctrl+shift+m", "command": "workbench.actions.view.problems",
17121714
"when": "workbench.panel.markers.view.active" },
1715+
{ "key": "escape", "command": "workbench.actions.workbench.panel.output.clearFilterText",
1716+
"when": "outputFilterFocus" },
17131717
{ "key": "escape", "command": "workbench.banner.focusBanner",
17141718
"when": "bannerFocused" },
17151719
{ "key": "down", "command": "workbench.banner.focusNextAction",
@@ -1974,7 +1978,7 @@
19741978
{ "key": "right", "command": "quickInput.acceptInBackground",
19751979
"when": "cursorAtEndOfQuickInputBox && inQuickInput && quickInputType == 'quickPick' || inQuickInput && !inputFocus && quickInputType == 'quickPick'" },
19761980
{ "key": "ctrl+shift+c", "command": "workbench.action.browser.addElementToChat",
1977-
"when": "browserHasUrl && chatIsEnabled && config.chat.sendElementsToChat.enabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1981+
"when": "browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
19781982
{ "key": "ctrl+enter", "command": "workbench.action.browser.addFocusedElementToChat",
19791983
"when": "browserElementSelectionActive && browserFocused" },
19801984
{ "key": "browserback", "command": "workbench.action.browser.goBack",

0 commit comments

Comments
 (0)