Skip to content

Commit ee007a3

Browse files
authored
Merge pull request #223 from codebling/update-default-keybindings-2026-06-10-19-10
Update for VSCode 1.124.0
2 parents a7d4477 + 2de2a06 commit ee007a3

6 files changed

Lines changed: 54 additions & 46 deletions

linux.keybindings.json

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

33
[
44
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
@@ -541,7 +541,7 @@
541541
{ "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal",
542542
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
543543
{ "key": "enter", "command": "workbench.action.chat.submit",
544-
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
544+
"when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
545545
{ "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase",
546546
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
547547
{ "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching",
@@ -809,7 +809,7 @@
809809
{ "key": "ctrl+alt+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock",
810810
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" },
811811
{ "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding",
812-
"when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" },
812+
"when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" },
813813
{ "key": "tab", "command": "editor.action.inlineSuggest.commit",
814814
"when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" },
815815
{ "key": "insert", "command": "editor.action.toggleOvertypeInsertMode" },
@@ -1278,13 +1278,15 @@
12781278
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
12791279
{ "key": "ctrl+l", "command": "workbench.action.browser.focusUrlInput",
12801280
"when": "activeEditor == 'workbench.editor.browser'" },
1281-
{ "key": "escape", "command": "workbench.action.browser.hideEmulationToolbar",
1282-
"when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" },
12831281
{ "key": "ctrl+alt+/", "command": "workbench.action.browser.openOrList" },
12841282
{ "key": "ctrl+shift+a", "command": "workbench.action.browser.quickOpen",
12851283
"when": "activeEditor == 'workbench.editor.browser'" },
1284+
{ "key": "ctrl+h", "command": "workbench.action.browser.showHistory",
1285+
"when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" },
12861286
{ "key": "f12", "command": "workbench.action.browser.toggleDevTools",
12871287
"when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1288+
{ "key": "ctrl+d", "command": "workbench.action.browser.toggleFavorite",
1289+
"when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" },
12881290
{ "key": "ctrl+escape", "command": "workbench.action.chat.cancel",
12891291
"when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" },
12901292
{ "key": "enter", "command": "workbench.action.chat.editRequests",
@@ -1749,7 +1751,7 @@
17491751
{ "key": "delete", "command": "agentSession.archive",
17501752
"when": "agentSessionsViewerFocused && !agentSessionIsArchived" },
17511753
{ "key": "f2", "command": "agentSession.rename",
1752-
"when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local'" },
1754+
"when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" },
17531755
{ "key": "shift+delete", "command": "agentSession.unarchive",
17541756
"when": "agentSessionIsArchived && agentSessionsViewerFocused" },
17551757
{ "key": "ctrl+right", "command": "breadcrumbs.focusNextWithPicker",
@@ -1787,7 +1789,7 @@
17871789
{ "key": "ctrl+pageup", "command": "notebook.focusPreviousEditor",
17881790
"when": "accessibilityModeEnabled && notebookCellEditorFocused" },
17891791
{ "key": "ctrl+shift+a", "command": "notification.acceptPrimaryAction",
1790-
"when": "notificationFocus || notificationToastsVisible" },
1792+
"when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" },
17911793
{ "key": "ctrl+/", "command": "terminalSuggestToggleExplainMode",
17921794
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
17931795
{ "key": "ctrl+k down", "command": "views.moveViewDown",

linux.negative.keybindings.json

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

33
[
44
{ "key": "escape escape", "command": "-workbench.action.exitZenMode",
@@ -541,7 +541,7 @@
541541
{ "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal",
542542
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" },
543543
{ "key": "enter", "command": "-workbench.action.chat.submit",
544-
"when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
544+
"when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" },
545545
{ "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase",
546546
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" },
547547
{ "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching",
@@ -809,7 +809,7 @@
809809
{ "key": "ctrl+alt+pageup", "command": "-editor.action.accessibleViewPreviousCodeBlock",
810810
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" },
811811
{ "key": "ctrl+k ctrl+k", "command": "-editor.action.defineKeybinding",
812-
"when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" },
812+
"when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" },
813813
{ "key": "tab", "command": "-editor.action.inlineSuggest.commit",
814814
"when": "inlineEditIsVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionVisible && tabShouldAcceptInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible || inlineEditIsVisible && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editor.hasSelection && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" },
815815
{ "key": "insert", "command": "-editor.action.toggleOvertypeInsertMode" },
@@ -1278,13 +1278,15 @@
12781278
"when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" },
12791279
{ "key": "ctrl+l", "command": "-workbench.action.browser.focusUrlInput",
12801280
"when": "activeEditor == 'workbench.editor.browser'" },
1281-
{ "key": "escape", "command": "-workbench.action.browser.hideEmulationToolbar",
1282-
"when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" },
12831281
{ "key": "ctrl+alt+/", "command": "-workbench.action.browser.openOrList" },
12841282
{ "key": "ctrl+shift+a", "command": "-workbench.action.browser.quickOpen",
12851283
"when": "activeEditor == 'workbench.editor.browser'" },
1284+
{ "key": "ctrl+h", "command": "-workbench.action.browser.showHistory",
1285+
"when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" },
12861286
{ "key": "f12", "command": "-workbench.action.browser.toggleDevTools",
12871287
"when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" },
1288+
{ "key": "ctrl+d", "command": "-workbench.action.browser.toggleFavorite",
1289+
"when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" },
12881290
{ "key": "ctrl+escape", "command": "-workbench.action.chat.cancel",
12891291
"when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" },
12901292
{ "key": "enter", "command": "-workbench.action.chat.editRequests",
@@ -1749,7 +1751,7 @@
17491751
{ "key": "delete", "command": "-agentSession.archive",
17501752
"when": "agentSessionsViewerFocused && !agentSessionIsArchived" },
17511753
{ "key": "f2", "command": "-agentSession.rename",
1752-
"when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local'" },
1754+
"when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" },
17531755
{ "key": "shift+delete", "command": "-agentSession.unarchive",
17541756
"when": "agentSessionIsArchived && agentSessionsViewerFocused" },
17551757
{ "key": "ctrl+right", "command": "-breadcrumbs.focusNextWithPicker",
@@ -1787,7 +1789,7 @@
17871789
{ "key": "ctrl+pageup", "command": "-notebook.focusPreviousEditor",
17881790
"when": "accessibilityModeEnabled && notebookCellEditorFocused" },
17891791
{ "key": "ctrl+shift+a", "command": "-notification.acceptPrimaryAction",
1790-
"when": "notificationFocus || notificationToastsVisible" },
1792+
"when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" },
17911793
{ "key": "ctrl+/", "command": "-terminalSuggestToggleExplainMode",
17921794
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
17931795
{ "key": "ctrl+k down", "command": "-views.moveViewDown",

0 commit comments

Comments
 (0)