From 854c09551bed1400894000bddaae530ea3dfe64e Mon Sep 17 00:00:00 2001 From: tshino Date: Thu, 11 Jun 2026 01:02:22 +0900 Subject: [PATCH 1/2] Make empty directory paths shorter --- scripts/get_default_keybindings/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/get_default_keybindings/main.js b/scripts/get_default_keybindings/main.js index 6fb226f..149a536 100644 --- a/scripts/get_default_keybindings/main.js +++ b/scripts/get_default_keybindings/main.js @@ -6,8 +6,8 @@ const { runTests } = require('@vscode/test-electron'); async function main() { try { // Make two empty directories to use to launch VS Code with the cleanest possible profile. - const emptyDir1 = path.resolve(__dirname, 'empty1'); - const emptyDir2 = path.resolve(__dirname, 'empty2'); + const emptyDir1 = path.resolve(__dirname, '../../empty1'); + const emptyDir2 = path.resolve(__dirname, '../../empty2'); await fsPromises.mkdir(emptyDir1, { recursive: true }); await fsPromises.mkdir(emptyDir2, { recursive: true }); From 2de2a061336b09ef6c69e31fb815c443a1e35554 Mon Sep 17 00:00:00 2001 From: gh-workflow Date: Wed, 10 Jun 2026 19:10:14 +0000 Subject: [PATCH 2/2] Update for VSCode 1.124.0 --- linux.keybindings.json | 16 +++++++++------- linux.negative.keybindings.json | 16 +++++++++------- macos.keybindings.json | 16 +++++++++------- macos.negative.keybindings.json | 16 +++++++++------- windows.keybindings.json | 18 +++++++++--------- windows.negative.keybindings.json | 18 +++++++++--------- 6 files changed, 54 insertions(+), 46 deletions(-) diff --git a/linux.keybindings.json b/linux.keybindings.json index b8c5f05..afefbeb 100644 --- a/linux.keybindings.json +++ b/linux.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.122.1 for Linux +// Default Keybindings of Visual Studio Code 1.124.0 for Linux [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -541,7 +541,7 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", @@ -809,7 +809,7 @@ { "key": "ctrl+alt+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock", "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" }, { "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding", - "when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" }, + "when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", "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" }, { "key": "insert", "command": "editor.action.toggleOvertypeInsertMode" }, @@ -1278,13 +1278,15 @@ "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+l", "command": "workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, - { "key": "escape", "command": "workbench.action.browser.hideEmulationToolbar", - "when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+alt+/", "command": "workbench.action.browser.openOrList" }, { "key": "ctrl+shift+a", "command": "workbench.action.browser.quickOpen", "when": "activeEditor == 'workbench.editor.browser'" }, + { "key": "ctrl+h", "command": "workbench.action.browser.showHistory", + "when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" }, { "key": "f12", "command": "workbench.action.browser.toggleDevTools", "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, + { "key": "ctrl+d", "command": "workbench.action.browser.toggleFavorite", + "when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+escape", "command": "workbench.action.chat.cancel", "when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" }, { "key": "enter", "command": "workbench.action.chat.editRequests", @@ -1749,7 +1751,7 @@ { "key": "delete", "command": "agentSession.archive", "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "f2", "command": "agentSession.rename", - "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local'" }, + "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, { "key": "shift+delete", "command": "agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "breadcrumbs.focusNextWithPicker", @@ -1787,7 +1789,7 @@ { "key": "ctrl+pageup", "command": "notebook.focusPreviousEditor", "when": "accessibilityModeEnabled && notebookCellEditorFocused" }, { "key": "ctrl+shift+a", "command": "notification.acceptPrimaryAction", - "when": "notificationFocus || notificationToastsVisible" }, + "when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" }, { "key": "ctrl+/", "command": "terminalSuggestToggleExplainMode", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+k down", "command": "views.moveViewDown", diff --git a/linux.negative.keybindings.json b/linux.negative.keybindings.json index 2f3e2dc..45b0e14 100644 --- a/linux.negative.keybindings.json +++ b/linux.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.122.1 for Linux +// Default Keybindings of Visual Studio Code 1.124.0 for Linux [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -541,7 +541,7 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", @@ -809,7 +809,7 @@ { "key": "ctrl+alt+pageup", "command": "-editor.action.accessibleViewPreviousCodeBlock", "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" }, { "key": "ctrl+k ctrl+k", "command": "-editor.action.defineKeybinding", - "when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" }, + "when": "resource == 'vscode-userdata:/home/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "-editor.action.inlineSuggest.commit", "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" }, { "key": "insert", "command": "-editor.action.toggleOvertypeInsertMode" }, @@ -1278,13 +1278,15 @@ "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+l", "command": "-workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, - { "key": "escape", "command": "-workbench.action.browser.hideEmulationToolbar", - "when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+alt+/", "command": "-workbench.action.browser.openOrList" }, { "key": "ctrl+shift+a", "command": "-workbench.action.browser.quickOpen", "when": "activeEditor == 'workbench.editor.browser'" }, + { "key": "ctrl+h", "command": "-workbench.action.browser.showHistory", + "when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" }, { "key": "f12", "command": "-workbench.action.browser.toggleDevTools", "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, + { "key": "ctrl+d", "command": "-workbench.action.browser.toggleFavorite", + "when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+escape", "command": "-workbench.action.chat.cancel", "when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", @@ -1749,7 +1751,7 @@ { "key": "delete", "command": "-agentSession.archive", "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "f2", "command": "-agentSession.rename", - "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local'" }, + "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, { "key": "shift+delete", "command": "-agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "-breadcrumbs.focusNextWithPicker", @@ -1787,7 +1789,7 @@ { "key": "ctrl+pageup", "command": "-notebook.focusPreviousEditor", "when": "accessibilityModeEnabled && notebookCellEditorFocused" }, { "key": "ctrl+shift+a", "command": "-notification.acceptPrimaryAction", - "when": "notificationFocus || notificationToastsVisible" }, + "when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" }, { "key": "ctrl+/", "command": "-terminalSuggestToggleExplainMode", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+k down", "command": "-views.moveViewDown", diff --git a/macos.keybindings.json b/macos.keybindings.json index f296d78..02effc7 100644 --- a/macos.keybindings.json +++ b/macos.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.122.1 for macOS +// Default Keybindings of Visual Studio Code 1.124.0 for macOS [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -611,7 +611,7 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "cmd+enter", "command": "workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", @@ -882,7 +882,7 @@ { "key": "alt+cmd+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock", "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" }, { "key": "cmd+k cmd+k", "command": "editor.action.defineKeybinding", - "when": "resource == 'vscode-userdata:/Users/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" }, + "when": "resource == 'vscode-userdata:/Users/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", "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" }, { "key": "alt+cmd+o", "command": "editor.action.toggleOvertypeInsertMode" }, @@ -1424,13 +1424,15 @@ "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+l", "command": "workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, - { "key": "escape", "command": "workbench.action.browser.hideEmulationToolbar", - "when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+cmd+/", "command": "workbench.action.browser.openOrList" }, { "key": "shift+cmd+a", "command": "workbench.action.browser.quickOpen", "when": "activeEditor == 'workbench.editor.browser'" }, + { "key": "cmd+h", "command": "workbench.action.browser.showHistory", + "when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" }, { "key": "f12", "command": "workbench.action.browser.toggleDevTools", "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, + { "key": "cmd+d", "command": "workbench.action.browser.toggleFavorite", + "when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+escape", "command": "workbench.action.chat.cancel", "when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" }, { "key": "enter", "command": "workbench.action.chat.editRequests", @@ -1926,7 +1928,7 @@ { "key": "cmd+backspace", "command": "agentSession.archive", "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "enter", "command": "agentSession.rename", - "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local'" }, + "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, { "key": "shift+cmd+backspace", "command": "agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "alt+right", "command": "breadcrumbs.focusNextWithPicker", @@ -1968,7 +1970,7 @@ { "key": "ctrl+pageup", "command": "notebook.focusPreviousEditor", "when": "accessibilityModeEnabled && notebookCellEditorFocused" }, { "key": "shift+cmd+a", "command": "notification.acceptPrimaryAction", - "when": "notificationFocus || notificationToastsVisible" }, + "when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" }, { "key": "cmd+/", "command": "terminalSuggestToggleExplainMode", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "cmd+k down", "command": "views.moveViewDown", diff --git a/macos.negative.keybindings.json b/macos.negative.keybindings.json index 5aee78c..c8afbae 100644 --- a/macos.negative.keybindings.json +++ b/macos.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.122.1 for macOS +// Default Keybindings of Visual Studio Code 1.124.0 for macOS [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -611,7 +611,7 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "cmd+enter", "command": "-workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", @@ -882,7 +882,7 @@ { "key": "alt+cmd+pageup", "command": "-editor.action.accessibleViewPreviousCodeBlock", "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" }, { "key": "cmd+k cmd+k", "command": "-editor.action.defineKeybinding", - "when": "resource == 'vscode-userdata:/Users/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" }, + "when": "resource == 'vscode-userdata:/Users/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "-editor.action.inlineSuggest.commit", "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" }, { "key": "alt+cmd+o", "command": "-editor.action.toggleOvertypeInsertMode" }, @@ -1424,13 +1424,15 @@ "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+l", "command": "-workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, - { "key": "escape", "command": "-workbench.action.browser.hideEmulationToolbar", - "when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+cmd+/", "command": "-workbench.action.browser.openOrList" }, { "key": "shift+cmd+a", "command": "-workbench.action.browser.quickOpen", "when": "activeEditor == 'workbench.editor.browser'" }, + { "key": "cmd+h", "command": "-workbench.action.browser.showHistory", + "when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" }, { "key": "f12", "command": "-workbench.action.browser.toggleDevTools", "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, + { "key": "cmd+d", "command": "-workbench.action.browser.toggleFavorite", + "when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" }, { "key": "cmd+escape", "command": "-workbench.action.chat.cancel", "when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", @@ -1926,7 +1928,7 @@ { "key": "cmd+backspace", "command": "-agentSession.archive", "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "enter", "command": "-agentSession.rename", - "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local'" }, + "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, { "key": "shift+cmd+backspace", "command": "-agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "alt+right", "command": "-breadcrumbs.focusNextWithPicker", @@ -1968,7 +1970,7 @@ { "key": "ctrl+pageup", "command": "-notebook.focusPreviousEditor", "when": "accessibilityModeEnabled && notebookCellEditorFocused" }, { "key": "shift+cmd+a", "command": "-notification.acceptPrimaryAction", - "when": "notificationFocus || notificationToastsVisible" }, + "when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" }, { "key": "cmd+/", "command": "-terminalSuggestToggleExplainMode", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "cmd+k down", "command": "-views.moveViewDown", diff --git a/windows.keybindings.json b/windows.keybindings.json index 29841ae..49aad8c 100644 --- a/windows.keybindings.json +++ b/windows.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.122.1 for Windows +// Default Keybindings of Visual Studio Code 1.124.0 for Windows [ { "key": "escape escape", "command": "workbench.action.exitZenMode", @@ -148,8 +148,6 @@ "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "ctrl+up", "command": "chat.action.focus", "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, - { "key": "escape", "command": "chat.models.action.clearSearchResults", - "when": "inModelsEditor && inModelsSearch" }, { "key": "shift+escape", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "closeBreakpointWidget", @@ -549,7 +547,7 @@ { "key": "ctrl+alt+enter", "command": "workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "ctrl+enter", "command": "workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "workbench.action.chat.submitWithoutDispatching", @@ -810,7 +808,7 @@ { "key": "ctrl+alt+pageup", "command": "editor.action.accessibleViewPreviousCodeBlock", "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" }, { "key": "ctrl+k ctrl+k", "command": "editor.action.defineKeybinding", - "when": "resource == 'vscode-userdata:/d%3A/a/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" }, + "when": "resource == 'vscode-userdata:/d%3A/a/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "editor.action.inlineSuggest.commit", "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" }, { "key": "insert", "command": "editor.action.toggleOvertypeInsertMode" }, @@ -1282,13 +1280,15 @@ "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+l", "command": "workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, - { "key": "escape", "command": "workbench.action.browser.hideEmulationToolbar", - "when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+alt+/", "command": "workbench.action.browser.openOrList" }, { "key": "ctrl+shift+a", "command": "workbench.action.browser.quickOpen", "when": "activeEditor == 'workbench.editor.browser'" }, + { "key": "ctrl+h", "command": "workbench.action.browser.showHistory", + "when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" }, { "key": "f12", "command": "workbench.action.browser.toggleDevTools", "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, + { "key": "ctrl+d", "command": "workbench.action.browser.toggleFavorite", + "when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+backspace", "command": "workbench.action.chat.cancel", "when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" }, { "key": "enter", "command": "workbench.action.chat.editRequests", @@ -1766,7 +1766,7 @@ { "key": "delete", "command": "agentSession.archive", "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "f2", "command": "agentSession.rename", - "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local'" }, + "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, { "key": "shift+delete", "command": "agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "breadcrumbs.focusNextWithPicker", @@ -1804,7 +1804,7 @@ { "key": "ctrl+pageup", "command": "notebook.focusPreviousEditor", "when": "accessibilityModeEnabled && notebookCellEditorFocused" }, { "key": "ctrl+shift+a", "command": "notification.acceptPrimaryAction", - "when": "notificationFocus || notificationToastsVisible" }, + "when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" }, { "key": "ctrl+/", "command": "terminalSuggestToggleExplainMode", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+k down", "command": "views.moveViewDown", diff --git a/windows.negative.keybindings.json b/windows.negative.keybindings.json index f1fae49..a571698 100644 --- a/windows.negative.keybindings.json +++ b/windows.negative.keybindings.json @@ -1,4 +1,4 @@ -// Default Keybindings of Visual Studio Code 1.122.1 for Windows +// Default Keybindings of Visual Studio Code 1.124.0 for Windows [ { "key": "escape escape", "command": "-workbench.action.exitZenMode", @@ -148,8 +148,6 @@ "when": "chatCursorAtTop && inChatInput && !quickChatHasFocus" }, { "key": "ctrl+up", "command": "-chat.action.focus", "when": "inChatInput && isLinux && !quickChatHasFocus || inChatInput && isWindows && !quickChatHasFocus" }, - { "key": "escape", "command": "-chat.models.action.clearSearchResults", - "when": "inModelsEditor && inModelsSearch" }, { "key": "shift+escape", "command": "-closeBreakpointWidget", "when": "breakpointWidgetVisible && textInputFocus" }, { "key": "escape", "command": "-closeBreakpointWidget", @@ -549,7 +547,7 @@ { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, { "key": "enter", "command": "-workbench.action.chat.submit", - "when": "chatInputHasText && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasText && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, + "when": "chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !chatSessionRequestInProgress && !withinEditSessionDiff || chatInputHasSendableContent && chatSessionOptionsValid && inChatInput && !withinEditSessionDiff && chatEditingSentRequest == 's'" }, { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", @@ -810,7 +808,7 @@ { "key": "ctrl+alt+pageup", "command": "-editor.action.accessibleViewPreviousCodeBlock", "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" }, { "key": "ctrl+k ctrl+k", "command": "-editor.action.defineKeybinding", - "when": "resource == 'vscode-userdata:/d%3A/a/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" }, + "when": "resource == 'vscode-userdata:/d%3A/a/vs-code-default-keybindings/vs-code-default-keybindings/empty2/User/keybindings.json'" }, { "key": "tab", "command": "-editor.action.inlineSuggest.commit", "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" }, { "key": "insert", "command": "-editor.action.toggleOvertypeInsertMode" }, @@ -1282,13 +1280,15 @@ "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+l", "command": "-workbench.action.browser.focusUrlInput", "when": "activeEditor == 'workbench.editor.browser'" }, - { "key": "escape", "command": "-workbench.action.browser.hideEmulationToolbar", - "when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" }, { "key": "ctrl+alt+/", "command": "-workbench.action.browser.openOrList" }, { "key": "ctrl+shift+a", "command": "-workbench.action.browser.quickOpen", "when": "activeEditor == 'workbench.editor.browser'" }, + { "key": "ctrl+h", "command": "-workbench.action.browser.showHistory", + "when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" }, { "key": "f12", "command": "-workbench.action.browser.toggleDevTools", "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, + { "key": "ctrl+d", "command": "-workbench.action.browser.toggleFavorite", + "when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" }, { "key": "alt+backspace", "command": "-workbench.action.chat.cancel", "when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" }, { "key": "enter", "command": "-workbench.action.chat.editRequests", @@ -1766,7 +1766,7 @@ { "key": "delete", "command": "-agentSession.archive", "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, { "key": "f2", "command": "-agentSession.rename", - "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local'" }, + "when": "agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType == 'local' || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^agent-host-/ || agentSessionsViewerFocused && !agentSessionHasMultipleSelected && chatSessionType =~ /^remote-/" }, { "key": "shift+delete", "command": "-agentSession.unarchive", "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, { "key": "ctrl+right", "command": "-breadcrumbs.focusNextWithPicker", @@ -1804,7 +1804,7 @@ { "key": "ctrl+pageup", "command": "-notebook.focusPreviousEditor", "when": "accessibilityModeEnabled && notebookCellEditorFocused" }, { "key": "ctrl+shift+a", "command": "-notification.acceptPrimaryAction", - "when": "notificationFocus || notificationToastsVisible" }, + "when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" }, { "key": "ctrl+/", "command": "-terminalSuggestToggleExplainMode", "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, { "key": "ctrl+k down", "command": "-views.moveViewDown",