|
1 |
| -// Default Keybindings of Visual Studio Code 1.101.2 for Linux |
| 1 | +// Default Keybindings of Visual Studio Code 1.102.0 for Linux |
2 | 2 |
|
3 | 3 | [
|
4 | 4 | { "key": "escape escape", "command": "workbench.action.exitZenMode",
|
|
139 | 139 | "when": "inputFocus && notebookEditorFocused && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !inlineChatFocused" },
|
140 | 140 | { "key": "meta+enter", "command": "notebook.cell.quitEdit",
|
141 | 141 | "when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" },
|
| 142 | + { "key": "escape", "command": "workbench.edit.chat.cancel", |
| 143 | + "when": "chatSessionCurrentlyEditing && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible || chatSessionCurrentlyEditingInput && inChatInput && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible" }, |
142 | 144 | { "key": "ctrl+f", "command": "actions.find",
|
143 | 145 | "when": "editorFocus || editorIsOpen" },
|
144 | 146 | { "key": "enter", "command": "breakpointWidget.action.acceptInput",
|
|
484 | 486 | { "key": "ctrl+shift+v", "command": "notebook.cell.pasteAbove",
|
485 | 487 | "when": "notebookEditorFocused && !inputFocus" },
|
486 | 488 | { "key": "down", "command": "notebook.focusNextEditor",
|
487 |
| - "when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'" }, |
| 489 | + "when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtLineBoundary == 'both' && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top' || config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtLineBoundary == 'end' && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'" }, |
488 | 490 | { "key": "up", "command": "notebook.focusPreviousEditor",
|
489 |
| - "when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" }, |
| 491 | + "when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtLineBoundary == 'both' && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none' || config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtLineBoundary == 'start' && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" }, |
490 | 492 | { "key": "ctrl+shift+i", "command": "notebook.formatCell",
|
491 | 493 | "when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'" },
|
492 | 494 | { "key": "ctrl+enter", "command": "openReferenceToSide",
|
|
856 | 858 | "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && chatEdits.requestCount == '0' || inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && !chatEdits.isRequestInProgress && chatEdits.requestCount == '0'" },
|
857 | 859 | { "key": "escape", "command": "inlineChat2.close",
|
858 | 860 | "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.hasEditorModifications && !chatEdits.isRequestInProgress || inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress && chatEdits.requestCount == '0'" },
|
859 |
| - { "key": "ctrl+enter", "command": "inlineChat2.keep", |
860 |
| - "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress" }, |
861 | 861 | { "key": "ctrl+i", "command": "inlineChat2.reveal",
|
862 | 862 | "when": "inlineChatHasEditsAgent && !chatEdits.isGlobalEditingSession && chatEdits.requestCount >= 1" },
|
863 |
| - { "key": "ctrl+backspace", "command": "inlineChat2.undo", |
864 |
| - "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress" }, |
865 | 863 | { "key": "ctrl+up", "command": "interactive.history.focus",
|
866 | 864 | "when": "isCompositeNotebook && isLinux && !notebookEditorFocused || isCompositeNotebook && isWindows && !notebookEditorFocused" },
|
867 | 865 | { "key": "down", "command": "interactive.history.next",
|
|
1263 | 1261 | { "key": "ctrl+alt+/", "command": "workbench.action.chat.attach.instructions",
|
1264 | 1262 | "when": "chatIsEnabled && config.chat.promptFiles" },
|
1265 | 1263 | { "key": "ctrl+escape", "command": "workbench.action.chat.cancel" },
|
| 1264 | + { "key": "enter", "command": "workbench.action.chat.editRequests", |
| 1265 | + "when": "inChat && !textInputFocus" }, |
1266 | 1266 | { "key": "ctrl+down", "command": "workbench.action.chat.focusInput",
|
1267 | 1267 | "when": "inChat && !inChatInput && !quickChatHasFocus" },
|
1268 | 1268 | { "key": "ctrl+up", "command": "workbench.action.chat.focusInput",
|
1269 | 1269 | "when": "inChat && quickChatHasFocus && !inChatInput" },
|
1270 | 1270 | { "key": "ctrl+i", "command": "workbench.action.chat.holdToVoiceChatInChatView",
|
1271 |
| - "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" }, |
1272 |
| - { "key": "ctrl+l", "command": "workbench.action.chat.newChat", |
1273 |
| - "when": "chatEditingParticipantRegistered && chatIsEnabled && inChat" }, |
| 1271 | + "when": "chatIsEnabled && hasSpeechProvider && !chatSessionRequestInProgress && !editorFocus && !inChatInput && !inSettingsEditor && !inlineChatFocused && !notebookEditorFocused && !searchViewletFocus" }, |
1274 | 1272 | { "key": "ctrl+alt+pagedown", "command": "workbench.action.chat.nextCodeBlock",
|
1275 | 1273 | "when": "chatIsEnabled && inChat" },
|
1276 | 1274 | { "key": "ctrl+f9", "command": "workbench.action.chat.nextFileTree",
|
|
1583 | 1581 | { "key": "shift+enter", "command": "workbench.action.terminal.sendSequence",
|
1584 | 1582 | "when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'",
|
1585 | 1583 | "args": {"text":"\u001b[24~c"} },
|
| 1584 | + { "key": "alt+up", "command": "workbench.action.terminal.sendSequence", |
| 1585 | + "when": "terminalFocus", |
| 1586 | + "args": {"text":"\u001b[1;5A"} }, |
| 1587 | + { "key": "alt+down", "command": "workbench.action.terminal.sendSequence", |
| 1588 | + "when": "terminalFocus", |
| 1589 | + "args": {"text":"\u001b[1;5B"} }, |
| 1590 | + { "key": "alt+right", "command": "workbench.action.terminal.sendSequence", |
| 1591 | + "when": "terminalFocus", |
| 1592 | + "args": {"text":"\u001b[1;5C"} }, |
| 1593 | + { "key": "alt+left", "command": "workbench.action.terminal.sendSequence", |
| 1594 | + "when": "terminalFocus", |
| 1595 | + "args": {"text":"\u001b[1;5D"} }, |
1586 | 1596 | { "key": "ctrl+alt+r", "command": "workbench.action.terminal.sendSequence",
|
1587 | 1597 | "when": "accessibilityModeEnabled && terminalFocus",
|
1588 | 1598 | "args": {"text":"\u0012"} },
|
|
1728 | 1738 | "when": "focusedView != ''" },
|
1729 | 1739 | { "key": "ctrl+enter", "command": "workbench.action.chat.acceptTool",
|
1730 | 1740 | "when": "chatHasToolConfirmation && inChat" },
|
| 1741 | + { "key": "ctrl+l", "command": "workbench.action.chat.newChat", |
| 1742 | + "when": "chatEditingParticipantRegistered && chatIsEnabled && inChat" }, |
| 1743 | + { "key": "ctrl+n", "command": "workbench.action.chat.newChat", |
| 1744 | + "when": "chatEditingParticipantRegistered && chatIsEnabled && inChat" }, |
1731 | 1745 | { "key": "ctrl+pagedown", "command": "workbench.action.debug.nextConsole",
|
1732 | 1746 | "when": "inDebugRepl" },
|
1733 | 1747 | { "key": "ctrl+pageup", "command": "workbench.action.debug.prevConsole",
|
1734 | 1748 | "when": "inDebugRepl" },
|
1735 |
| - { "key": "tab", "command": "workbench.action.terminal.acceptSelectedSuggestion", |
1736 |
| - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, |
| 1749 | + { "key": "ctrl+n", "command": "workbench.action.openChat", |
| 1750 | + "when": "chatIsEnabled && inChat && inChatEditor" }, |
| 1751 | + { "key": "enter", "command": "workbench.action.terminal.acceptSelectedSuggestion", |
| 1752 | + "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !simpleSuggestWidgetFirstSuggestionFocused || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.selectionMode != 'partial' || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !simpleSuggestWidgetFirstSuggestionFocused || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.selectionMode != 'partial'" }, |
1737 | 1753 | { "key": "enter", "command": "workbench.action.terminal.acceptSelectedSuggestionEnter",
|
1738 |
| - "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.runOnEnter != 'ignore' || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.runOnEnter != 'ignore'" }, |
| 1754 | + "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.runOnEnter != 'never' || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && config.terminal.integrated.suggest.runOnEnter != 'never'" }, |
1739 | 1755 | { "key": "escape", "command": "workbench.action.terminal.hideSuggestWidget",
|
1740 | 1756 | "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
|
1741 | 1757 | { "key": "ctrl+shift+o", "command": "workbench.action.terminal.openDetectedLink",
|
|
1752 | 1768 | "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" },
|
1753 | 1769 | { "key": "up", "command": "workbench.action.terminal.selectPrevSuggestion",
|
1754 | 1770 | "when": "simpleSuggestWidgetHasNavigated && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasNavigated && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible || terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible && !config.terminal.integrated.suggest.upArrowNavigatesHistory" },
|
| 1771 | + { "key": "ctrl+shift+l", "command": "workbench.action.terminal.suggestLearnMore", |
| 1772 | + "when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, |
1755 | 1773 | { "key": "tab", "command": "editor.action.inlineSuggest.commit",
|
1756 | 1774 | "when": "inInlineEditsPreviewEditor" },
|
1757 | 1775 | { "key": "f6", "command": "workbench.action.debug.pause",
|
1758 | 1776 | "when": "debugState == 'running'" },
|
| 1777 | + { "key": "tab", "command": "workbench.action.terminal.acceptSelectedSuggestion", |
| 1778 | + "when": "simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || simpleSuggestWidgetHasFocusedSuggestion && terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible" }, |
1759 | 1779 | { "key": "alt+down", "command": "workbench.action.terminal.accessibleBufferGoToNextCommand",
|
1760 | 1780 | "when": "accessibleViewIsShown && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'" },
|
1761 | 1781 | { "key": "alt+up", "command": "workbench.action.terminal.accessibleBufferGoToPreviousCommand",
|
|
1778 | 1798 | "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceReadonly && !inputFocus" },
|
1779 | 1799 | { "key": "ctrl+shift+y", "command": "chatEditor.action.accept",
|
1780 | 1800 | "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" },
|
| 1801 | + { "key": "ctrl+alt+y", "command": "chatEditor.action.acceptAllEdits", |
| 1802 | + "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" }, |
1781 | 1803 | { "key": "ctrl+shift+n", "command": "chatEditor.action.reject",
|
1782 | 1804 | "when": "chatEdits.hasEditorModifications && editorFocus && !chatEdits.isRequestInProgress || chatEdits.hasEditorModifications && notebookEditorFocused && !chatEdits.isRequestInProgress" },
|
1783 | 1805 | { "key": "shift+delete", "command": "deleteFile",
|
|
1811 | 1833 | "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedFirstFocus && !inputFocus" },
|
1812 | 1834 | { "key": "ctrl+enter", "command": "inlineChat.acceptChanges",
|
1813 | 1835 | "when": "inlineChatHasProvider && inlineChatVisible" },
|
| 1836 | + { "key": "ctrl+shift+y", "command": "inlineChat2.keep", |
| 1837 | + "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress" }, |
| 1838 | + { "key": "ctrl+shift+n", "command": "inlineChat2.undo", |
| 1839 | + "when": "inlineChatHasEditsAgent && inlineChatVisible && !chatEdits.isRequestInProgress" }, |
1814 | 1840 | { "key": "end", "command": "lastCompressedFolder",
|
1815 | 1841 | "when": "explorerViewletCompressedFocus && filesExplorerFocus && foldersViewVisible && !explorerViewletCompressedLastFocus && !inputFocus" },
|
1816 | 1842 | { "key": "ctrl+shift+t", "command": "mergeEditor.toggleBetweenInputs",
|
|
0 commit comments