|
1 | | -// Default Keybindings of Visual Studio Code 1.122.1 for Linux |
| 1 | +// Default Keybindings of Visual Studio Code 1.124.0 for Linux |
2 | 2 |
|
3 | 3 | [ |
4 | 4 | { "key": "escape escape", "command": "-workbench.action.exitZenMode", |
|
541 | 541 | { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.runInTerminal", |
542 | 542 | "when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" }, |
543 | 543 | { "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'" }, |
545 | 545 | { "key": "ctrl+enter", "command": "-workbench.action.chat.submitWithCodebase", |
546 | 546 | "when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" }, |
547 | 547 | { "key": "shift+alt+enter", "command": "-workbench.action.chat.submitWithoutDispatching", |
|
809 | 809 | { "key": "ctrl+alt+pageup", "command": "-editor.action.accessibleViewPreviousCodeBlock", |
810 | 810 | "when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'inlineChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat' || accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'quickChat'" }, |
811 | 811 | { "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'" }, |
813 | 813 | { "key": "tab", "command": "-editor.action.inlineSuggest.commit", |
814 | 814 | "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" }, |
815 | 815 | { "key": "insert", "command": "-editor.action.toggleOvertypeInsertMode" }, |
|
1278 | 1278 | "when": "browserElementSelectionActive && browserHasUrl && chatIsEnabled && !browserHasError && activeEditor == 'workbench.editor.browser'" }, |
1279 | 1279 | { "key": "ctrl+l", "command": "-workbench.action.browser.focusUrlInput", |
1280 | 1280 | "when": "activeEditor == 'workbench.editor.browser'" }, |
1281 | | - { "key": "escape", "command": "-workbench.action.browser.hideEmulationToolbar", |
1282 | | - "when": "browserEmulationToolbarVisible && activeEditor == 'workbench.editor.browser'" }, |
1283 | 1281 | { "key": "ctrl+alt+/", "command": "-workbench.action.browser.openOrList" }, |
1284 | 1282 | { "key": "ctrl+shift+a", "command": "-workbench.action.browser.quickOpen", |
1285 | 1283 | "when": "activeEditor == 'workbench.editor.browser'" }, |
| 1284 | + { "key": "ctrl+h", "command": "-workbench.action.browser.showHistory", |
| 1285 | + "when": "activeEditor == 'workbench.editor.browser' && browserStorageScope != 'ephemeral'" }, |
1286 | 1286 | { "key": "f12", "command": "-workbench.action.browser.toggleDevTools", |
1287 | 1287 | "when": "browserHasUrl && !browserHasError && activeEditor == 'workbench.editor.browser'" }, |
| 1288 | + { "key": "ctrl+d", "command": "-workbench.action.browser.toggleFavorite", |
| 1289 | + "when": "browserHasUrl && activeEditor == 'workbench.editor.browser'" }, |
1288 | 1290 | { "key": "ctrl+escape", "command": "-workbench.action.chat.cancel", |
1289 | 1291 | "when": "chatSessionHasActiveRequest && !chatRemoteJobCreating" }, |
1290 | 1292 | { "key": "enter", "command": "-workbench.action.chat.editRequests", |
|
1749 | 1751 | { "key": "delete", "command": "-agentSession.archive", |
1750 | 1752 | "when": "agentSessionsViewerFocused && !agentSessionIsArchived" }, |
1751 | 1753 | { "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-/" }, |
1753 | 1755 | { "key": "shift+delete", "command": "-agentSession.unarchive", |
1754 | 1756 | "when": "agentSessionIsArchived && agentSessionsViewerFocused" }, |
1755 | 1757 | { "key": "ctrl+right", "command": "-breadcrumbs.focusNextWithPicker", |
|
1787 | 1789 | { "key": "ctrl+pageup", "command": "-notebook.focusPreviousEditor", |
1788 | 1790 | "when": "accessibilityModeEnabled && notebookCellEditorFocused" }, |
1789 | 1791 | { "key": "ctrl+shift+a", "command": "-notification.acceptPrimaryAction", |
1790 | | - "when": "notificationFocus || notificationToastsVisible" }, |
| 1792 | + "when": "accessibilityModeEnabled && notificationFocus || accessibilityModeEnabled && notificationToastsVisible" }, |
1791 | 1793 | { "key": "ctrl+/", "command": "-terminalSuggestToggleExplainMode", |
1792 | 1794 | "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, |
1793 | 1795 | { "key": "ctrl+k down", "command": "-views.moveViewDown", |
|
0 commit comments