979 lines
No EOL
30 KiB
JSON
979 lines
No EOL
30 KiB
JSON
// Place your key bindings in this file to override the defaultsauto[]
|
|
[
|
|
//removed keybinds
|
|
{
|
|
"key": "ctrl+shift+alt+up",
|
|
"command": "-editor.action.copyLinesUpAction",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+alt+down",
|
|
"command": "-editor.action.copyLinesDownAction",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "alt+up",
|
|
"command": "-editor.action.moveLinesUpAction",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "alt+down",
|
|
"command": "-editor.action.moveLinesDownAction",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "space",
|
|
"command": "-filesExplorer.openFilePreserveFocus",
|
|
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+j",
|
|
"command": "-workbench.action.togglePanel"
|
|
},
|
|
{
|
|
"key": "shift+alt+up",
|
|
"command": "-editor.action.insertCursorAbove",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "shift+alt+down",
|
|
"command": "-editor.action.insertCursorBelow",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+up",
|
|
"command": "-editor.action.insertCursorAbove",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+d",
|
|
"command": "-editor.action.addSelectionToNextFindMatch",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+s",
|
|
"command": "-workbench.action.files.saveAs"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+s",
|
|
"command": "-workbench.action.files.saveLocalFile",
|
|
"when": "remoteFileDialogVisible"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+down",
|
|
"command": "-editor.action.insertCursorBelow",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+k ctrl+o",
|
|
"command": "-workbench.action.files.openFolder",
|
|
"when": "openFolderWorkspaceSupport"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+o",
|
|
"command": "-editor.action.accessibleViewGoToSymbol",
|
|
"when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+o",
|
|
"command": "-workbench.action.gotoSymbol",
|
|
"when": "!accessibilityHelpIsShown && !accessibleViewIsShown"
|
|
},
|
|
{
|
|
"key": "ctrl+o",
|
|
"command": "-workbench.action.files.openFolderViaWorkspace",
|
|
"when": "!openFolderWorkspaceSupport && workbenchState == 'workspace'"
|
|
},
|
|
{
|
|
"key": "ctrl+o",
|
|
"command": "-workbench.action.files.openFile",
|
|
"when": "true"
|
|
},
|
|
{
|
|
"key": "ctrl+alt+o",
|
|
"command": "-workbench.action.remote.showMenu"
|
|
},
|
|
{
|
|
"key": "down",
|
|
"command": "-selectNextSuggestion",
|
|
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
|
|
},
|
|
{
|
|
"key": "up",
|
|
"command": "-selectPrevSuggestion",
|
|
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
|
|
},
|
|
{
|
|
"key": "shift+alt+i",
|
|
"command": "-editor.action.insertCursorAtEndOfEachLineSelected",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "down",
|
|
"command": "-selectNextCodeAction",
|
|
"when": "codeActionMenuVisible"
|
|
},
|
|
{
|
|
"key": "up",
|
|
"command": "-selectPrevCodeAction",
|
|
"when": "codeActionMenuVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-extension.vim_escape",
|
|
"when": "editorTextFocus && vim.active && !inDebugRepl"
|
|
},
|
|
// basic line movement
|
|
{
|
|
"key": "shift+alt+I",
|
|
"command": "editor.action.copyLinesUpAction",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "shift+alt+K",
|
|
"command": "editor.action.copyLinesDownAction",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "alt+i",
|
|
"command": "editor.action.moveLinesUpAction",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "alt+k",
|
|
"command": "editor.action.moveLinesDownAction",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+i",
|
|
"command": "editor.action.insertCursorAbove",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+k",
|
|
"command": "editor.action.insertCursorBelow",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+s",
|
|
"command": "editor.action.addSelectionToNextFindMatch",
|
|
},
|
|
{
|
|
"key": "ctrl+alt+l",
|
|
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
|
|
"when": "editorTextFocus"
|
|
},
|
|
// suggestion nav
|
|
{
|
|
"key": "ctrl+k",
|
|
"command": "selectNextSuggestion",
|
|
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
|
|
},
|
|
{
|
|
"key": "ctrl+i",
|
|
"command": "selectPrevSuggestion",
|
|
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
|
|
},
|
|
{
|
|
"key": "ctrl+k",
|
|
"command": "selectNextCodeAction",
|
|
"when": "codeActionMenuVisible"
|
|
},
|
|
{
|
|
"key": "ctrl+i",
|
|
"command": "selectPrevCodeAction",
|
|
"when": "codeActionMenuVisible"
|
|
},
|
|
// open file/folder
|
|
{
|
|
"key": "ctrl+shift+o",
|
|
"command": "workbench.action.files.openFolder",
|
|
"when": "openFolderWorkspaceSupport"
|
|
},
|
|
{
|
|
"key": "ctrl+alt+o",
|
|
"command": "workbench.action.files.openFile",
|
|
"when": "true"
|
|
},
|
|
//--------------VIM STUFF----------------------//
|
|
{
|
|
"key": "capslock",
|
|
"command": "extension.vim_escape",
|
|
"when": "editorTextFocus && !inDebugRepl && !suggestWidgetVisible"
|
|
},
|
|
{
|
|
"key": "ctrl+w",
|
|
"command": "workbench.action.closeActiveEditor"
|
|
},
|
|
//terminal
|
|
{
|
|
"key": "ctrl+l",
|
|
"command": "terminal.focus",
|
|
"when": ""
|
|
},
|
|
{
|
|
"key": "ctrl+j",
|
|
"command": "workbench.action.focusActiveEditorGroup",
|
|
"when": "terminalFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+k",
|
|
"command": "workbench.action.terminal.focusNext",
|
|
"when": "terminalFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+i",
|
|
"command": "workbench.action.terminal.focusPrevious",
|
|
"when": "terminalFocus"
|
|
},
|
|
|
|
{
|
|
"key": "ctrl+n",
|
|
"command": "workbench.action.terminal.new",
|
|
"when": "terminalFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+w",
|
|
"command": "workbench.action.terminal.kill",
|
|
"when": "terminalFocus"
|
|
},
|
|
//file tree
|
|
{
|
|
"key": "ctrl+shift+k",
|
|
"command": "workbench.explorer.fileView.focus",
|
|
"when": "terminalFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+i",
|
|
"command": "terminal.focus",
|
|
"when": "explorerViewletFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+j",
|
|
"command": "workbench.action.focusActiveEditorGroup",
|
|
"when": "explorerViewletFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+w",
|
|
"command": "workbench.action.toggleSidebarVisibility",
|
|
"when": "explorerViewletFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+n",
|
|
"command": "explorer.newFile",
|
|
"when": "explorerViewletFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+n",
|
|
"command": "explorer.newFolder",
|
|
"when": "explorerViewletFocus"
|
|
},
|
|
// copilot
|
|
{
|
|
"key": "ctrl+shift+k",
|
|
"command": "workbench.panel.chat.view.copilot.focus",
|
|
"when": "explorerViewletFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+i",
|
|
"command": "workbench.explorer.fileView.focus",
|
|
"when": "!editorFocus && !terminalFocus && !explorerViewletFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+j",
|
|
"command": "workbench.action.focusActiveEditorGroup",
|
|
"when": "!editorFocus && !terminalFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.action.hideColorPicker",
|
|
"when": "standaloneColorPickerVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.action.hideColorPicker",
|
|
"when": "standaloneColorPickerVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.action.inlineEdit.reject",
|
|
"when": "inlineEditVisible && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.action.inlineEdit.reject",
|
|
"when": "inlineEditVisible && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "hideSuggestWidget",
|
|
"when": "suggestWidgetVisible && textInputFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-hideSuggestWidget",
|
|
"when": "suggestWidgetVisible && textInputFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.action.cancelSelectionAnchor",
|
|
"when": "editorTextFocus && selectionAnchorSet"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.action.cancelSelectionAnchor",
|
|
"when": "editorTextFocus && selectionAnchorSet"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.chat.stopListening",
|
|
"when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.chat.stopListening",
|
|
"when": "voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || voiceChatInProgress && scopedVoiceChatInProgress == 'terminal' || voiceChatInProgress && scopedVoiceChatInProgress == 'view'"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.speech.stopReadAloud",
|
|
"when": "scopedChatSynthesisInProgress && textToSpeechInProgress"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.speech.stopReadAloud",
|
|
"when": "scopedChatSynthesisInProgress && textToSpeechInProgress"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.debug.action.closeExceptionWidget",
|
|
"when": "exceptionWidgetVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.debug.action.closeExceptionWidget",
|
|
"when": "exceptionWidgetVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.action.inlineSuggest.hide",
|
|
"when": "inlineSuggestionVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.action.inlineSuggest.hide",
|
|
"when": "inlineSuggestionVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notebook.cell.quitEdit",
|
|
"when": "inputFocus && notebookEditorFocused && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !inlineChatFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notebook.cell.quitEdit",
|
|
"when": "inputFocus && notebookEditorFocused && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !inlineChatFocused"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notebook.cell.quitEdit",
|
|
"when": "notebookEditorFocused && notebookOutputFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notebook.cell.quitEdit",
|
|
"when": "notebookEditorFocused && notebookOutputFocused"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notebook.cell.quitEdit",
|
|
"when": "inputFocus && notebookEditorFocused && vim.active && !editorHasSelection && !editorHoverVisible && vim.mode == 'Normal'"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notebook.cell.quitEdit",
|
|
"when": "inputFocus && notebookEditorFocused && vim.active && !editorHasSelection && !editorHoverVisible && vim.mode == 'Normal'"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notifications.hideList",
|
|
"when": "notificationCenterVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notifications.hideList",
|
|
"when": "notificationCenterVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "settings.action.clearSearchResults",
|
|
"when": "inSettingsEditor && inSettingsSearch"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-settings.action.clearSearchResults",
|
|
"when": "inSettingsEditor && inSettingsSearch"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "settings.action.focusLevelUp",
|
|
"when": "inSettingsEditor && !inSettingsJSONEditor && !inSettingsSearch"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-settings.action.focusLevelUp",
|
|
"when": "inSettingsEditor && !inSettingsJSONEditor && !inSettingsSearch"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "search.action.focusQueryEditorWidget",
|
|
"when": "inSearchEditor"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-search.action.focusQueryEditorWidget",
|
|
"when": "inSearchEditor"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "search.action.cancel",
|
|
"when": "listFocus && searchViewletVisible && !inputFocus && !treestickyScrollFocused && searchState != '0'"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-search.action.cancel",
|
|
"when": "listFocus && searchViewletVisible && !inputFocus && !treestickyScrollFocused && searchState != '0'"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "inlayHints.stopReadingLineWithHint",
|
|
"when": "isReadingLineWithInlayHints"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-inlayHints.stopReadingLineWithHint",
|
|
"when": "isReadingLineWithInlayHints"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-breadcrumbs.selectEditor",
|
|
"when": "breadcrumbsActive && breadcrumbsVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.terminal.clearSelection",
|
|
"when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.terminal.clearSelection",
|
|
"when": "terminalFocusInAny && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocusInAny && terminalProcessSupported && terminalTextSelected && !terminalFindVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.terminal.chat.close",
|
|
"when": "terminalChatFocus && terminalChatVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.terminal.chat.close",
|
|
"when": "terminalChatFocus && terminalChatVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.terminal.hideFind",
|
|
"when": "terminalFindVisible && terminalFocusInAny && terminalHasBeenCreated || terminalFindVisible && terminalFocusInAny && terminalProcessSupported"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.terminal.hideFind",
|
|
"when": "terminalFindVisible && terminalFocusInAny && terminalHasBeenCreated || terminalFindVisible && terminalFocusInAny && terminalProcessSupported"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.editorDictation.stop",
|
|
"when": "editorDictation.inProgress"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.editorDictation.stop",
|
|
"when": "editorDictation.inProgress"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "welcome.goBack",
|
|
"when": "inWelcome && activeEditor == 'gettingStartedPage'"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-welcome.goBack",
|
|
"when": "inWelcome && activeEditor == 'gettingStartedPage'"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "cancelLinkedEditingInput",
|
|
"when": "LinkedEditingInputVisible && editorTextFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-cancelLinkedEditingInput",
|
|
"when": "LinkedEditingInputVisible && editorTextFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "cancelRenameInput",
|
|
"when": "editorFocus && renameInputVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-cancelRenameInput",
|
|
"when": "editorFocus && renameInputVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "cancelSelection",
|
|
"when": "editorHasSelection && textInputFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-cancelSelection",
|
|
"when": "editorHasSelection && textInputFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "closeBreakpointWidget",
|
|
"when": "breakpointWidgetVisible && textInputFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-closeBreakpointWidget",
|
|
"when": "breakpointWidgetVisible && textInputFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "closeDirtyDiff",
|
|
"when": "dirtyDiffVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-closeDirtyDiff",
|
|
"when": "dirtyDiffVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "closeFindWidget",
|
|
"when": "editorFocus && findWidgetVisible && !isComposing"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-closeFindWidget",
|
|
"when": "editorFocus && findWidgetVisible && !isComposing"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "closeMarkersNavigation",
|
|
"when": "editorFocus && markersNavigationVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-closeMarkersNavigation",
|
|
"when": "editorFocus && markersNavigationVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "closeParameterHints",
|
|
"when": "editorFocus && parameterHintsVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-closeParameterHints",
|
|
"when": "editorFocus && parameterHintsVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "closeReferenceSearch",
|
|
"when": "inReferenceSearchEditor && !config.editor.stablePeek"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-closeReferenceSearch",
|
|
"when": "inReferenceSearchEditor && !config.editor.stablePeek"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "closeReferenceSearch",
|
|
"when": "editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-closeReferenceSearch",
|
|
"when": "editorTextFocus && referenceSearchVisible && !config.editor.stablePeek || referenceSearchVisible && !config.editor.stablePeek && !inputFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "closeReplaceInFilesWidget",
|
|
"when": "replaceInputBoxFocus && searchViewletVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-closeReplaceInFilesWidget",
|
|
"when": "replaceInputBoxFocus && searchViewletVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "commentsClearFilterText",
|
|
"when": "commentsFilterFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-commentsClearFilterText",
|
|
"when": "commentsFilterFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "diffEditor.exitCompareMove",
|
|
"when": "comparingMovedCode"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-diffEditor.exitCompareMove",
|
|
"when": "comparingMovedCode"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.action.selectEditor",
|
|
"when": "stickyScrollFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.action.selectEditor",
|
|
"when": "stickyScrollFocused"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.action.webvieweditor.hideFind",
|
|
"when": "webviewFindWidgetVisible && !editorFocus && activeEditor == 'WebviewEditor'"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.action.webvieweditor.hideFind",
|
|
"when": "webviewFindWidgetVisible && !editorFocus && activeEditor == 'WebviewEditor'"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.cancelOperation",
|
|
"when": "cancellableOperation"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.cancelOperation",
|
|
"when": "cancellableOperation"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.closeCallHierarchy",
|
|
"when": "callHierarchyVisible && !config.editor.stablePeek"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.closeCallHierarchy",
|
|
"when": "callHierarchyVisible && !config.editor.stablePeek"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.closeTestPeek",
|
|
"when": "testing.isInPeek && !config.editor.stablePeek || testing.isPeekVisible && !config.editor.stablePeek"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.closeTestPeek",
|
|
"when": "testing.isInPeek && !config.editor.stablePeek || testing.isPeekVisible && !config.editor.stablePeek"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.closeTypeHierarchy",
|
|
"when": "typeHierarchyVisible && !config.editor.stablePeek"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.closeTypeHierarchy",
|
|
"when": "typeHierarchyVisible && !config.editor.stablePeek"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.gotoNextSymbolFromResult.cancel",
|
|
"when": "hasSymbols"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.gotoNextSymbolFromResult.cancel",
|
|
"when": "hasSymbols"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.hideDropWidget",
|
|
"when": "dropWidgetVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.hideDropWidget",
|
|
"when": "dropWidgetVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "editor.hidePasteWidget",
|
|
"when": "pasteWidgetVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-editor.hidePasteWidget",
|
|
"when": "pasteWidgetVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "filesExplorer.cancelCut",
|
|
"when": "explorerResourceCut && filesExplorerFocus && foldersViewVisible && !inputFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-filesExplorer.cancelCut",
|
|
"when": "explorerResourceCut && filesExplorerFocus && foldersViewVisible && !inputFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "hideCodeActionWidget",
|
|
"when": "codeActionMenuVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-hideCodeActionWidget",
|
|
"when": "codeActionMenuVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "inlineChat.cancel",
|
|
"when": "inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode == 'preview'"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-inlineChat.cancel",
|
|
"when": "inlineChatHasProvider && inlineChatVisible && config.inlineChat.mode == 'preview'"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "inlineChat.close",
|
|
"when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-inlineChat.close",
|
|
"when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "inlineChat.discard",
|
|
"when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-inlineChat.discard",
|
|
"when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "keybindings.editor.clearSearchResults",
|
|
"when": "inKeybindings && inKeybindingsSearch"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-keybindings.editor.clearSearchResults",
|
|
"when": "inKeybindings && inKeybindingsSearch"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "keybindings.editor.rejectWhenExpression",
|
|
"when": "inKeybindings && whenFocus && !suggestWidgetVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-keybindings.editor.rejectWhenExpression",
|
|
"when": "inKeybindings && whenFocus && !suggestWidgetVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "leaveEditorMessage",
|
|
"when": "messageVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-leaveEditorMessage",
|
|
"when": "messageVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "leaveSnippet",
|
|
"when": "inSnippetMode && textInputFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-leaveSnippet",
|
|
"when": "inSnippetMode && textInputFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "list.clear",
|
|
"when": "listFocus && listHasSelectionOrFocus && !inputFocus && !treestickyScrollFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-list.clear",
|
|
"when": "listFocus && listHasSelectionOrFocus && !inputFocus && !treestickyScrollFocused"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "list.closeFind",
|
|
"when": "listFocus && treeFindOpen"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-list.closeFind",
|
|
"when": "listFocus && treeFindOpen"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notebook.cell.chat.acceptChanges",
|
|
"when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notebook.cell.chat.acceptChanges",
|
|
"when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notebook.cell.chat.discard",
|
|
"when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notebook.cell.chat.discard",
|
|
"when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notebook.hideFind",
|
|
"when": "notebookEditorFocused && notebookFindWidgetFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notebook.hideFind",
|
|
"when": "notebookEditorFocused && notebookFindWidgetFocused"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notifications.hideToasts",
|
|
"when": "notificationToastsVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notifications.hideToasts",
|
|
"when": "notificationToastsVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "notifications.hideToasts",
|
|
"when": "notificationFocus && notificationToastsVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-notifications.hideToasts",
|
|
"when": "notificationFocus && notificationToastsVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "problems.action.clearFilterText",
|
|
"when": "problemsFilterFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-problems.action.clearFilterText",
|
|
"when": "problemsFilterFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "removeSecondaryCursors",
|
|
"when": "editorHasMultipleSelections && textInputFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-removeSecondaryCursors",
|
|
"when": "editorHasMultipleSelections && textInputFocus"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.chat.stopReadChatItemAloud",
|
|
"when": "scopedChatSynthesisInProgress"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.chat.stopReadChatItemAloud",
|
|
"when": "scopedChatSynthesisInProgress"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.closeQuickOpen",
|
|
"when": "inQuickOpen"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.closeQuickOpen",
|
|
"when": "inQuickOpen"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.hideComment",
|
|
"when": "commentEditorFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.hideComment",
|
|
"when": "commentEditorFocused"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.action.terminal.hideSuggestWidget",
|
|
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.action.terminal.hideSuggestWidget",
|
|
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen && terminalSuggestWidgetVisible || terminalFocus && terminalIsOpen && terminalProcessSupported && terminalSuggestWidgetVisible"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.banner.focusBanner",
|
|
"when": "bannerFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.banner.focusBanner",
|
|
"when": "bannerFocused"
|
|
},
|
|
{
|
|
"key": "capslock",
|
|
"command": "workbench.statusBar.clearFocus",
|
|
"when": "statusBarFocused"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "-workbench.statusBar.clearFocus",
|
|
"when": "statusBarFocused"
|
|
},
|
|
//------------OTHER-----------------//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
] |