|
1 | | -// Default Keybindings of Visual Studio Code 1.110.1 for Linux |
| 1 | +// Default Keybindings of Visual Studio Code 1.111.0 for Linux |
2 | 2 |
|
3 | 3 | [ |
4 | 4 | { "key": "escape escape", "command": "-workbench.action.exitZenMode", |
|
128 | 128 | "when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" }, |
129 | 129 | { "key": "escape", "command": "-workbench.edit.chat.cancel", |
130 | 130 | "when": "chatSessionCurrentlyEditing && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || chatSessionCurrentlyEditingInput && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible" }, |
| 131 | + { "key": "escape", "command": "-workbench.action.closeModalEditor", |
| 132 | + "when": "editorFocus && editorPartModal" }, |
131 | 133 | { "key": "ctrl+f", "command": "-actions.find", |
132 | 134 | "when": "editorFocus || editorIsOpen" }, |
133 | 135 | { "key": "enter", "command": "-breakpointWidget.action.acceptInput", |
|
444 | 446 | "when": "editorTextFocus && foldingEnabled" }, |
445 | 447 | { "key": "escape", "command": "-inlayHints.stopReadingLineWithHint", |
446 | 448 | "when": "isReadingLineWithInlayHints" }, |
| 449 | + { "key": "escape", "command": "-inlineChat.dismissEditorAffordance", |
| 450 | + "when": "editorTextFocus && inlineChatAffordanceVisible && config.inlineChat.affordance == 'editor'" }, |
447 | 451 | { "key": "tab", "command": "-insertSnippet", |
448 | 452 | "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" }, |
449 | 453 | { "key": "ctrl+enter", "command": "-interactive.execute", |
|
853 | 857 | "when": "inSearchEditor" }, |
854 | 858 | { "key": "ctrl+i", "command": "-inlineChat.askInChat", |
855 | 859 | "when": "editorFocus && inlineChatFileBelongsToChat && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatFileBelongsToChat && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && activeEditor == 'workbench.editor.notebook'" }, |
856 | | - { "key": "ctrl+i", "command": "-inlineChat.holdForSpeech", |
857 | | - "when": "hasSpeechProvider && inlineChatVisible && textInputFocus" }, |
858 | 860 | { "key": "ctrl+i", "command": "-inlineChat.start", |
859 | 861 | "when": "editorFocus && inlineChatHasEditsAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat || editorFocus && inlineChatHasNotebookAgent && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook' || editorFocus && inlineChatHasNotebookInline && inlineChatPossible && !editorReadonly && !editorSimpleInput && !inlineChatFileBelongsToChat && activeEditor == 'workbench.editor.notebook'" }, |
860 | 862 | { "key": "enter", "command": "-inlineChat2.keep", |
|
1308 | 1310 | { "key": "ctrl+alt+up", "command": "-workbench.action.chat.previousUserPrompt", |
1309 | 1311 | "when": "chatIsEnabled && inChat" }, |
1310 | 1312 | { "key": "delete", "command": "-workbench.action.chat.restoreCheckpoint", |
1311 | | - "when": "inChat && !textInputFocus" }, |
| 1313 | + "when": "inChat && !inChatQuestionCarousel && !textInputFocus" }, |
1312 | 1314 | { "key": "ctrl+alt+meta+/", "command": "-workbench.action.chat.run-in-new-chat.prompt.current", |
1313 | 1315 | "when": "chatIsEnabled && editorTextFocus && resourceSet && resourceLangId == 'prompt'" }, |
1314 | 1316 | { "key": "alt+meta+/", "command": "-workbench.action.chat.run.prompt", |
|
1324 | 1326 | { "key": "alt+t", "command": "-workbench.action.chat.toggleThinkingContentAccessibleView", |
1325 | 1327 | "when": "accessibleViewIsShown && chatIsEnabled && accessibleViewCurrentProviderId == 'panelChat'" }, |
1326 | 1328 | { "key": "delete", "command": "-workbench.action.chat.undoEdits", |
1327 | | - "when": "inChat && !textInputFocus" }, |
| 1329 | + "when": "inChat && !inChatQuestionCarousel && !textInputFocus" }, |
1328 | 1330 | { "key": "ctrl+w", "command": "-workbench.action.closeActiveEditor" }, |
1329 | 1331 | { "key": "ctrl+k ctrl+w", "command": "-workbench.action.closeAllEditors" }, |
1330 | 1332 | { "key": "ctrl+k ctrl+shift+w", "command": "-workbench.action.closeAllGroups" }, |
|
1782 | 1784 | { "key": "ctrl+n", "command": "-workbench.action.chat.newChat", |
1783 | 1785 | "when": "chatIsEnabled && inChat && chatLocation == 'panel'" }, |
1784 | 1786 | { "key": "ctrl+enter", "command": "-workbench.action.chat.openSessionInEditorGroup", |
1785 | | - "when": "agentSessionsViewerFocused" }, |
| 1787 | + "when": "agentSessionsViewerFocused && !isSessionsWindow" }, |
1786 | 1788 | { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.openSessionInNewEditorGroup", |
1787 | | - "when": "agentSessionsViewerFocused" }, |
| 1789 | + "when": "agentSessionsViewerFocused && !isSessionsWindow" }, |
1788 | 1790 | { "key": "ctrl+alt+enter", "command": "-workbench.action.chat.skipTool", |
1789 | 1791 | "when": "chatHasToolConfirmation && inChat" }, |
1790 | 1792 | { "key": "ctrl+pagedown", "command": "-workbench.action.debug.nextConsole", |
|
1909 | 1911 | { "key": "f2", "command": "-renameFile", |
1910 | 1912 | "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, |
1911 | 1913 | { "key": "escape", "command": "-workbench.action.closeModalEditor", |
1912 | | - "when": "editorPartModal" }, |
| 1914 | + "when": "editorPartModal && !editorFocus" }, |
1913 | 1915 | { "key": "f5", "command": "-workbench.action.debug.continue", |
1914 | 1916 | "when": "debugState == 'stopped'" }, |
1915 | 1917 | { "key": "f11", "command": "-workbench.action.debug.stepInto", |
|
1974 | 1976 | "when": "terminalFocus && terminalProcessSupported && terminalTextSelected" }, |
1975 | 1977 | { "key": "ctrl+shift+i", "command": "-workbench.action.toggleDevTools", |
1976 | 1978 | "when": "isDevelopment" }, |
| 1979 | + { "key": "ctrl+f5", "command": "-workbench.action.browser.hardReload", |
| 1980 | + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, |
| 1981 | + { "key": "ctrl+shift+r", "command": "-workbench.action.browser.hardReload", |
| 1982 | + "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, |
1977 | 1983 | { "key": "f5", "command": "-workbench.action.browser.reload", |
1978 | 1984 | "when": "browserFocused && activeEditor == 'workbench.editor.browser'" }, |
1979 | 1985 | { "key": "ctrl+r", "command": "-workbench.action.browser.reload", |
|
0 commit comments