Last active
October 13, 2024 20:28
-
-
Save trungnt13/e6f99de258ca53c9bdc547e7a5503919 to your computer and use it in GitHub Desktop.
Cursor Keyboard Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
///////////////////////////////////// Cursor | |
{ | |
"key": "ctrl+=", | |
"command": "aichat.close-sidebar", | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "editor.action.inlineDiffs.cancelPromptBar", | |
"when": "editorTextFocus && hasActivelyGeneratingPromptBarDiff" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "editor.action.cancelGPT4WithCmdDelete", | |
"when": "hadGPT4InlineCompletionRunning" | |
}, | |
{ | |
"key": "cmd+y", | |
"command": "aichat.newfollowupaction" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "composer.startComposerPrompt", | |
"when": "composerIsEnabled" | |
}, | |
{ | |
"key": "escape", | |
"command": "editor.action.inlineEdits.hide", | |
"when": "inlineEditsVisible" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "cursorai.action.acceptGenerateInTerminal", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)" | |
}, | |
{ | |
"key": "cmd+pausebreak", | |
"command": "editor.action.inlineDiffs.acceptAllAcrossAllEditors", | |
"when": "editorHasPromptBar && editorTextFocus || editorTextFocus && hasDisplayedDiff" | |
}, | |
{ | |
"key": "tab", | |
"command": "editor.action.acceptGPT4", | |
"when": "hasGPT4Diff" | |
}, | |
{ | |
"key": "shift+cmd+0", | |
"command": "aiSettings.usingOpenAIKey.toggle" | |
}, | |
{ | |
"key": "shift+cmd+i", | |
"command": "controlPanel.openControlPanel" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "editor.action.inlineDiffs.rejectPartialEdit", | |
"when": "editorTextFocus && (arbitrary function)" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "aichat.fixerrormessage", | |
"when": "(arbitrary function)" | |
}, | |
{ | |
"key": "alt+d", | |
"command": "aidebug.autodebugterminal", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+ctrl", | |
"command": "editor.action.inlineDiffs.rejectAllAcrossAllEditors", | |
"when": "editorHasPromptBar && editorTextFocus || editorTextFocus && hasDisplayedDiff" | |
}, | |
{ | |
"key": "alt+cmd+l", | |
"command": "aichat.showchatdropdown" | |
}, | |
{ | |
"key": "shift+cmd+y", | |
"command": "aichat.insertselectionintofollowup" | |
}, | |
{ | |
"key": "escape", | |
"command": "cursorai.action.hideGenerateInTerminal", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "aichat.selectNextTab", | |
"when": "view == 'workbench.panel.aichat.view'" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "cursorai.action.cancelGenerateInTerminal", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "workbench.action.keychord.leader", | |
"when": "false" | |
}, | |
{ | |
"key": "cmd+shift+-", | |
"command": "cursorai.action.generateInTerminal", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "editor.action.inlineDiffs.rejectAll", | |
"when": "editorTextFocus && (arbitrary function)" | |
}, | |
{ | |
"key": "cmd+g", | |
"command": "editor.action.simpleInlineDiffs.acceptAll", | |
"when": "editorTextFocus && hasDisplayedSimpleDiff" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "editor.action.inlineDiffs.acceptAll", | |
"when": "editorTextFocus && (arbitrary function)" | |
}, | |
{ | |
"key": "cmd+shift+=", | |
"command": "aichat.newchataction" | |
}, | |
{ | |
"key": "shift+cmd+j", | |
"command": "aiSettings.action.openhidden", | |
"when": "!isSettingsPaneOpen" | |
}, | |
{ | |
"key": "alt+[", | |
"command": "editor.action.inlineEdits.showPrevious", | |
"when": "inlineEditsVisible && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+l", | |
"command": "aichat.insertselectionintochat" | |
}, | |
{ | |
"key": "alt+cmd+f8", | |
"command": "editor.action.marker.this", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+y", | |
"command": "editor.action.inlineDiffs.acceptPartialEdit", | |
"when": "editorTextFocus && (arbitrary function)" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "cursorai.action.executeInterpreterAction", | |
"when": "(arbitrary function)" | |
}, | |
{ | |
"key": "cmd+h", | |
"command": "editor.action.simpleInlineDiffs.rejectAll", | |
"when": "editorTextFocus && hasDisplayedSimpleDiff" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "aichat.cancelchat", | |
"when": "activeAIChatEditor || view == 'workbench.panel.aichat.view' && (arbitrary function)" | |
}, | |
{ | |
"key": "cmd+space", | |
"command": "editor.action.inlineEdits.accept", | |
"when": "inlineEditsVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "cursor.aichat.toggleChatMode", | |
"when": "(arbitrary function) && (arbitrary function)" | |
}, | |
{ | |
"key": "cmd+r cmd+g", | |
"command": "aiFeedback.action.open" | |
}, | |
{ | |
"key": "cmd+u", | |
"command": "cursorai.action.retryInterpreterAction", | |
"when": "activeAIChatEditor || view == 'workbench.panel.aichat.view' || (arbitrary function) && (arbitrary function)" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "cursorai.action.acceptAndRunGenerateInTerminal", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)" | |
}, | |
{ | |
"key": "alt+]", | |
"command": "editor.action.inlineEdits.showNext", | |
"when": "inlineEditsVisible && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "editor.action.inlineDiffs.cancelEdits", | |
"when": "editorTextFocus && hasActivelyGeneratingDiff" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "editor.action.rejectGPT4", | |
"when": "editorTextFocus && hasGPT4Diff" | |
}, | |
{ | |
"key": "cmd+shift+-", | |
"command": "aipopup.action.modal.generate", | |
"when": "editorFocus && !composerBarIsVisible && !composerControlPanelIsVisible", | |
"args": { | |
"invocationType": "new" | |
} | |
}, | |
{ | |
"key": "shift+cmd+j", | |
"command": "aiSettings.action.open", | |
"when": "!isSettingsPaneOpen" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "cursorai.action.rejectGenerateInTerminal", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalProcessSupported && (arbitrary function)" | |
}, | |
{ | |
"key": "escape", | |
"command": "aipopup.action.closePromptBar", | |
"when": "editorHasPromptBar && editorPromptBarFocused && editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "aichat.selectPreviousTab", | |
"when": "view == 'workbench.panel.aichat.view'" | |
}, | |
////////////////////////////////////// TODO: | |
// "cmd+t" is empty | |
{ | |
"key": "cmd+v", | |
"command": "workbench.action.terminal.paste", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "workbench.action.terminal.copySelection", | |
"when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused" | |
}, | |
//**************************** fuzzy search ************************ | |
{ | |
"key": "ctrl+g", | |
"command": "fuzzySearch.activeTextEditor", | |
"when": "editorTextFocus && !editorHasSelection" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "fuzzySearch.activeTextEditorWithCurrentSelection", | |
"when": "editorTextFocus && editorHasSelection" | |
}, | |
//**************************** foam ************************ | |
// Resource filters can be passed to some Foam commands to limit their scope. | |
// A filter supports the following parameters: | |
// - `tag`: include a resource if it has the given tag (e.g. `{"tag": "#research"}`) | |
// - `type`: include a resource if it is of the given type (e.g. `{"type": "daily-note"}`) | |
// - `path`: include a resource if its path matches the given regex (e.g. `{"path": "/projects/*"}`). **Note that this parameter supports regex and not globs.** | |
// - `expression`: include a resource if it makes the given expression `true`, where `resource` represents the resource being evaluated (e.g. `{"expression": "resource.type ==='weekly-note'"}`) | |
// - `title`: include a resource if the title matches the given regex (e.g. `{"title": "Team meeting:*"}`) | |
// A filter also supports some logical operators: | |
// - `and`: include a resource if it matches all the sub-parameters (e.g `{"and": [{"tag": "#research"}, {"title": "Paper *"}]}`) | |
// - `or`: include a resource if it matches any of the sub-parameters (e.g `{"or": [{"tag": "#research"}, {"title": "Paper *"}]}`) | |
// - `not`: invert the result of the nested filter (e.g. `{"not": {"type": "daily-note"}}`) | |
// Here is an example of a complex filter, for example to show the Foam graph only of a subset of the workspace: | |
// https://github.com/foambubble/foam/blob/f1b15eceed82a983b44ee8eaa63ec812c2aa53bf/docs/user/features/commands.md?plain=1#L56 | |
{ | |
"key": "alt+d", | |
"command": "-foam-vscode.open-daily-note" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "foam-vscode.tags-explorer.focus" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "foam-vscode.connections.focus" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "foam-vscode.show-graph" | |
}, | |
// { | |
// "key": "cmd+t", | |
// "command": "foam-vscode.show-graph", | |
// "args": { | |
// "filter": { | |
// "and": [ | |
// { | |
// "include": "/projects/*" | |
// }, | |
// { | |
// "tag": "#a" | |
// }, | |
// { | |
// "tag": "#b" | |
// }, | |
// { | |
// "or": [ | |
// { | |
// "type": "house-project" | |
// }, | |
// { | |
// "type": "car-project" | |
// } | |
// ], | |
// } | |
// ] | |
// } | |
// } | |
// }, | |
//**************************** Emoji ************************ | |
{ | |
"key": "ctrl+alt+i", | |
"command": "-emojisense.quickEmojiTerminal", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+i", | |
"command": "-emojisense.quickEmoji", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-emojisense.quickEmojitext", | |
"when": "editorTextFocus" | |
}, | |
//**************************** Git * gistpad ************************ | |
{ | |
"key": "cmd+shift+g", | |
"command": "git-graph.view" | |
}, | |
{ | |
"key": "", | |
"command": "-gistpad.repos.focus" | |
}, | |
{ | |
"key": "ctrl+0", | |
"command": "workbench.action.editor.nextChange", | |
"when": "editorTextFocus && !inSearchEditor && !hasSearchResult" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "workbench.action.editor.previousChange", | |
"when": "editorTextFocus && !inSearchEditor && !hasSearchResult" | |
}, | |
//**************************** C/C++ ************************ | |
{ | |
"key": "ctrl+h", | |
"command": "C_Cpp.SwitchHeaderSource", | |
"when": "editorTextFocus && editorLangId == 'c' || editorTextFocus && editorLangId == 'cpp' || editorTextFocus && editorLangId == 'cuda-cpp'" | |
}, | |
//**************************** Jupyter ************************ | |
{ | |
"key": "cmd+shift+5", | |
"command": "jupyter.runcurrentcell", | |
"when": "editorTextFocus && isWorkspaceTrusted && jupyter.hascodecells && !editorHasSelection && !jupyter.havenativecells && !notebookEditorFocused" | |
}, | |
{ | |
"key": "cmd+shift+4", | |
"command": "jupyter.execSelectionInteractive", | |
"when": "editorTextFocus && isWorkspaceTrusted && !findInputFocussed && !jupyter.webExtension && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python'" | |
}, | |
{ | |
"key": "cmd+,", | |
"command": "jupyter.gotoNextCellInFile", | |
"when": "editorTextFocus && jupyter.hascodecells && !jupyter.webExtension && !notebookEditorFocused && editorLangId == 'python'" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-jupyter.gotoPrevCellInFile", | |
"when": "editorTextFocus && jupyter.hascodecells && !jupyter.webExtension && !notebookEditorFocused && editorLangId == 'python'" | |
}, | |
//**************************** Project Manager ************************ | |
{ | |
"key": "cmd+ctrl+p", | |
"command": "projectManager.listProjectsNewWindow" | |
}, | |
{ | |
"key": "", | |
"command": "-projectManager.listProjects" | |
}, | |
//**************************** Github * Copilot + Quick Fix + Suggest ************************ | |
// explain, fix, simplify, generate, tests | |
// *** interactive editor | |
{ | |
"key": "ctrl+k", | |
"command": "list.scrollDown", | |
"when": "inChat" | |
}, | |
{ | |
"key": "ctrl+i", | |
"command": "list.scrollUp", | |
"when": "inChat" | |
}, | |
// *** copilot | |
{ | |
"key": "ctrl+\\", | |
"command": "editor.action.inlineSuggest.trigger", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "editor.action.inlineSuggest.commit", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+]", | |
"command": "editor.action.inlineSuggest.showNext", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+[", | |
"command": "editor.action.inlineSuggest.showPrevious", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
// editorHasCodeActionsProvider && | |
{ | |
"key": "cmd+\\", | |
"command": "editor.action.codeAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
//********************************** Workbench navigation ****************************** | |
{ | |
"key": "cmd+shift+h", | |
"command": "workbench.action.closePanel" | |
}, | |
{ | |
"key": "cmd+shift+0", | |
"command": "workbench.action.focusActiveEditorGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-dockerContainers.focus" | |
}, | |
{ | |
"key": "cmd+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "cmd+shift+9", | |
"command": "references-view.tree.focus", | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "-workbench.view.explorer", | |
"when": "viewContainer.workbench.view.explorer.enabled" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "workbench.action.toggleAuxiliaryBar" | |
}, | |
{ | |
"key": "", | |
"command": "-outline.focus" | |
}, | |
{ | |
"key": "cmd+6", | |
"command": "-workbench.action.output.toggleOutput" | |
}, | |
{ | |
"key": "cmd+1", | |
"command": "workbench.view.extension.dockerView" | |
}, | |
{ | |
"key": "cmd+2", | |
"command": "vscode-postgres.selectConnection" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.toggleZenMode" | |
}, | |
// === Debug * debug * breakpoint | |
{ | |
"key": "cmd+5", | |
"command": "editor.debug.action.toggleBreakpoint", | |
"when": "debuggersAvailable && disassemblyViewFocus || debuggersAvailable && editorTextFocus" | |
}, | |
{ | |
"key": "cmd+shift+5", | |
"command": "workbench.action.debug.selectDebugConsole" | |
}, | |
{ | |
"key": "cmd+6", | |
"command": "workbench.debug.action.focusBreakpointsView" | |
}, | |
{ | |
"key": "cmd+shift+6", | |
"command": "workbench.panel.repl.view.focus" | |
}, | |
// === Terminal control | |
{ | |
"key": "cmd+shift+7", | |
"command": "workbench.action.terminal.focus" | |
}, | |
{ | |
"key": "cmd+7", | |
"command": "-workbench.action.terminal.focusAccessibleBuffer", | |
}, | |
{ | |
"key": "cmd+shift+o", | |
"command": "workbench.action.terminal.navigateAccessibleBuffer", | |
"when": "terminalFocus || terminalTabsFocus || terminalAccessibleBufferFocus" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.terminal.kill", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus && !inputBoxFocus" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus && !inputBoxFocus" | |
}, | |
// === Debug Repl | |
{ | |
"key": "cmd+shift+8", | |
"command": "workbench.action.showOutputChannels" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.actions.view.problems" | |
}, | |
{ | |
"key": "shift+cmd+m", | |
"command": "-workbench.actions.view.problems", | |
"when": "workbench.panel.markers.view.active" | |
}, | |
// === Run and exec | |
{ | |
"key": "cmd+ctrl+enter", | |
"command": "workbench.action.terminal.runActiveFile", | |
"when": "terminalHasBeenCreated || terminalProcessSupported" | |
}, | |
{ | |
"key": "", | |
"command": "-python.execSelectionInTerminal", | |
"when": "editorTextFocus && !findInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python'" | |
}, | |
{ | |
"key": "cmd+-", | |
"command": "workbench.action.terminal.runSelectedText", | |
"when": "editorTextFocus && !findInputFocussed && !replaceInputFocussed" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "-python.execInTerminal", | |
"when": "editorTextFocus && !findInputFocussed && !jupyter.hascodecells && !python.datascience.ownsSelection && !replaceInputFocussed && editorLangId == 'python'" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "-cmake.launchTarget", | |
"when": "cmake:enableFullFeatureSet && !cmake:hideDebugCommand && !inDebugMode" | |
}, | |
// === Peek navigate | |
// workbench.action.maximizeEditor | |
// workbench.action.minimizeOtherEditors | |
{ | |
"key": "cmd+shift+m", | |
"command": "workbench.action.toggleMaximizeEditorGroup", | |
"when": "maximizedEditorGroup || multipleEditorGroups" | |
}, | |
{ | |
"key": "ctrl+m", | |
"command": "workbench.action.evenEditorWidths", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+ctrl+m", | |
"command": "workbench.action.toggleMaximizedPanel" | |
}, | |
{ | |
"key": "cmd+9", | |
// "command": "editor.action.peekDefinition", | |
"command": "editor.action.referenceSearch.trigger", | |
// "command": "editor.action.showReferences", | |
// "command": "references-view.findReferences", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+shift+9", | |
"command": "references-view.findReferences", | |
"when": "editorHasReferenceProvider" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "togglePeekWidgetFocus", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "togglePeekWidgetFocus", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
//////// | |
{ | |
"key": "cmd+8", | |
"command": "editor.action.showDefinitionPreviewHover", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-autoDocstring.generateDocstring", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+0", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+0", | |
"command": "editor.action.peekDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.exitZenMode", | |
"when": "inZenMode" | |
}, | |
////////////////////////////////////////////////////////////////////////// | |
{ | |
"key": "shift+escape", | |
"command": "closeReferenceSearch", | |
"when": "inReferenceSearchEditor && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeReferenceSearch", | |
"when": "inReferenceSearchEditor && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "cancelSelection", | |
"when": "editorHasSelection && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "cancelSelection", | |
"when": "editorHasSelection && textInputFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
//************************* Code Folding ************************************ | |
{ | |
"key": "", | |
"command": "-editor.toggleFold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.unfoldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+;", | |
"command": "editor.fold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+'", | |
"command": "editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+y", | |
"command": "editor.action.jumpToBracket", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+y", | |
"command": "editor.action.selectToBracket", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "editor.action.insertLineBefore", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+ctrl+b", | |
"command": "-latex-workshop.build", | |
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "cmd+ctrl+c", | |
"command": "-latex-workshop.clean", | |
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "cmd+ctrl+v", | |
"command": "latex-workshop.view", | |
"when": "!config.latex-workshop.bind.altKeymap.enabled && editorLangId =~ /latex|rsweave/" | |
}, | |
// for non-python and cmake | |
{ | |
"key": "ctrl+shift+f", | |
"command": "editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor && editorLangId != 'cmake' && editorLangId != 'python'" | |
}, | |
// for python | |
{ | |
"key": "ctrl+shift+f", | |
"command": "runCommands", | |
"args": { | |
"commands": [ | |
"editor.action.formatDocument", | |
"ruff.executeOrganizeImports" | |
] | |
}, | |
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor && editorLangId == 'python'" | |
}, | |
// *********************************************** search * find and * replace ************ | |
{ | |
"key": "cmd+shift+y", | |
"command": "editor.action.selectHighlights", | |
"when": "editorFocus && !inSearchEditor" | |
}, | |
{ | |
"key": "cmd+shift+f", | |
"command": "-workbench.action.findInFiles" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "workbench.action.search.toggleQueryDetails", // file include exclude | |
"when": "inSearchEditor || searchViewletFocus" | |
}, | |
//////// | |
{ | |
"key": "cmd+shift+enter", | |
"command": "editor.action.replaceAll", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "editor.action.replaceOne", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "cmd+shift+1", | |
"command": "search.action.replace", | |
"when": "matchFocus && replaceActive && searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+shift+enter", | |
"command": "search.action.replaceAll", | |
"when": "replaceActive && searchViewletVisible && !findWidgetVisible" | |
}, | |
{ | |
"key": "cmd+shift+enter", | |
"command": "search.action.replaceAllInFile", | |
"when": "fileMatchFocus && replaceActive && searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+shift+1", | |
"command": "search.action.replaceAllInFile", | |
"when": "fileMatchFocus && replaceActive && searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+shift+enter", | |
"command": "search.action.replaceAllInFolder", | |
"when": "folderMatchFocus && replaceActive && searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+shift+1", | |
"command": "search.action.replaceAllInFolder", | |
"when": "folderMatchFocus && replaceActive && searchViewletVisible" | |
}, | |
// *** searchviewlet | |
{ | |
"key": "ctrl+0", | |
"command": "search.action.focusNextSearchResult", | |
"when": "hasSearchResult && searchViewletVisible" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "search.action.focusPreviousSearchResult", | |
"when": "hasSearchResult && searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+shift+f", | |
"command": "workbench.view.search", | |
// "when": "!searchViewletVisible" | |
"args": { | |
"contextLines": 1, | |
"filesToInclude": "*", | |
// "query": "", | |
// "isRegexp": true, | |
// "isCaseSensitive": false, | |
// "matchWholeWord": true, | |
// "filesToExclude": "", | |
// "showIncludesExcludes": false, | |
// "useExcludeSettingsAndIgnoreFiles": true, | |
// "triggerSearch": true, | |
// "focusResults": true | |
} | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "search.focus.nextInputBox", | |
"when": "searchViewletFocus && inputBoxFocus || inputBoxFocus && searchViewletVisible && !searchInputBoxFocus" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "search.focus.previousInputBox", | |
"when": "searchViewletFocus && inputBoxFocus || inputBoxFocus && searchViewletVisible && !searchInputBoxFocus" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "toggleSearchRegex", | |
"when": "searchViewletFocus" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "toggleSearchWholeWord", | |
"when": "searchViewletFocus" | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "toggleSearchCaseSensitive", | |
"when": "searchViewletFocus && !fileMatchOrFolderMatchFocus" | |
}, | |
// *** searcheditor | |
// - search.action.openEditor | |
// - search.action.openNewEditor | |
// - search.action.openNewEditorFromView | |
// - search.action.openNewEditorToSide | |
{ | |
"key": "ctrl+f", | |
"command": "search.action.openEditor", | |
"args": { | |
// "query": "${selectedText}", | |
// "regexp": false, | |
// "includes": "${workspaceFolder}", | |
// "triggerSearch": true, | |
"showIncludesExcludes": true, | |
"contextLines": 0, | |
} | |
}, | |
{ | |
"key": "ctrl+0", | |
"command": "search.action.focusNextSearchResult", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "search.action.focusPreviousSearchResult", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "cmd+shift+y", | |
"command": "selectAllSearchEditorMatches", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "toggleSearchEditorCaseSensitive", | |
"when": "inSearchEditor && searchInputBoxFocus" | |
}, | |
{ | |
"key": "alt+cmd+l", | |
"command": "toggleSearchEditorContextLines", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "toggleSearchEditorRegex", | |
"when": "inSearchEditor && searchInputBoxFocus" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "toggleSearchEditorWholeWord", | |
"when": "inSearchEditor && searchInputBoxFocus" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "decreaseSearchEditorContextLines", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "ctrl+=", | |
"command": "increaseSearchEditorContextLines", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "cmd+shift+backspace", | |
"command": "workbench.action.searchEditor.deleteResultBlock", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "cmd+shift+r", | |
"command": "rerunSearchEditorSearch", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "escape", | |
"command": "search.action.focusQueryEditorWidget", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "down", | |
"command": "search.focus.nextInputBox", | |
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "up", | |
"command": "search.focus.previousInputBox", | |
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible && !searchInputBoxFocus" | |
}, | |
// *** find and match | |
{ | |
"key": "cmd+f", | |
"command": "-actions.find", | |
"when": "editorTextFocus && editorReadonly" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "editor.action.startFindReplaceAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "editor.action.selectAllMatches", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "toggleFindCaseSensitive", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-toggleFindInSelection", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "toggleFindRegex", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "toggleFindWholeWord", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
// *********************************************** Navigation ************ | |
{ | |
"key": "ctrl+j", | |
"command": "workbench.action.navigateBackInEditLocations", | |
"when": "!inlineSuggestionVisible && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.navigateForwardInEditLocations", | |
"when": "!inlineSuggestionVisible && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+ctrl+u", | |
"command": "workbench.action.navigateBack", | |
"when": "canNavigateBack" | |
}, | |
{ | |
"key": "cmd+ctrl+o", | |
"command": "workbench.action.navigateForward", | |
"when": "canNavigateForward" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "selectPrevSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "selectNextCodeAction", | |
"when": "codeActionMenuVisible" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "selectPrevCodeAction", | |
"when": "codeActionMenuVisible" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "cursorDown", | |
"when": "textInputFocus && !suggestWidgetVisible && !editorHoverVisible && (!inlineChatFocused && inlineChatOuterCursorPosition != 'above' || !inlineChatVisible)" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "cursorUp", | |
"when": "textInputFocus && !suggestWidgetVisible && !editorHoverVisible && (!inlineChatFocused && inlineChatOuterCursorPosition != 'below' || !inlineChatVisible)" | |
}, | |
//***************** page | |
{ | |
"key": "cmd+,", | |
"command": "cursorPageDown", | |
"when": "textInputFocus && !jupyter.hascodecells && !suggestWidgetVisible && !codeActionMenuVisible && !inInteractiveSession && !inlineChatFocused && !isEmbeddedDiffEditor" | |
}, | |
{ | |
"key": "cmd+,", | |
"command": "selectNextPageSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "alt+pagedown", | |
"command": "scrollPageDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "alt+pageup", | |
"command": "scrollPageUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+shift+,", | |
"command": "cursorPageDownSelect", | |
"when": "textInputFocus && !suggestWidgetVisible && !codeActionMenuVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "cursorPageUp", | |
"when": "textInputFocus && !jupyter.hascodecells && !suggestWidgetVisible && !codeActionMenuVisible && !inInteractiveSession && !inlineChatFocused && !isEmbeddedDiffEditor" | |
}, | |
{ | |
"key": "cmd+shift+.", | |
"command": "cursorPageUpSelect", | |
"when": "textInputFocus && !suggestWidgetVisible && !codeActionMenuVisible" | |
}, | |
//***************** page and navigation in hover | |
{ | |
"key": "cmd+,", | |
"command": "editor.action.pageDownHover", | |
"when": "editorHoverVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "editor.action.pageUpHover", | |
"when": "editorHoverVisible" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "editor.action.scrollDownHover", | |
"when": "editorHoverVisible" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "editor.action.scrollUpHover", | |
"when": "editorHoverVisible" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "editor.action.scrollRightHover", | |
"when": "editorHoverVisible" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "editor.action.scrollLeftHover", | |
"when": "editorHoverVisible" | |
}, | |
//********************** Page in terminal | |
// { | |
// "key": "cmd+,", | |
// "command": "cursorPageDown", | |
// "when": "textInputFocus && !jupyter.hascodecells && !suggestWidgetVisible && !codeActionMenuVisible" | |
// }, | |
// { | |
// "key": "cmd+.", | |
// "command": "cursorPageUp", | |
// "when": "textInputFocus && !jupyter.hascodecells && !suggestWidgetVisible && !codeActionMenuVisible" | |
// }, | |
///// Scroll | |
{ | |
"key": "cmd+,", | |
"command": "workbench.action.terminal.scrollDown", | |
"when": "!textInputFocus && !editorTextFocus && terminalFocus" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "workbench.action.terminal.scrollUp", | |
"when": "!textInputFocus && !editorTextFocus && terminalFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-scrollLineUp" | |
}, | |
{ | |
"key": "", | |
"command": "-scrollLineDown" | |
}, | |
// { | |
// "key": "cmd+,", | |
// "command": "workbench.action.quickOpenNavigateNext", | |
// "when": "inQuickOpen && !suggestWidgetVisible && !editorFocus" | |
// }, | |
///// Multi-cursors | |
{ | |
"key": "ctrl+i", | |
"command": "editor.action.insertCursorAbove", | |
"when": "editorTextFocus && !inlineChatFocused" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "editor.action.insertCursorBelow", | |
"when": "editorTextFocus && !inlineChatFocused" | |
}, | |
{ | |
"key": "", | |
"command": "-addCursorsAtSearchResults", | |
"when": "fileMatchOrMatchFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "selectPrevPageSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "workbench.action.quickOpenSelectPrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "cursorLeft", | |
"when": "textInputFocus && !editorHoverVisible" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "cursorRight", | |
"when": "textInputFocus && !editorHoverVisible" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "cursorEnd", | |
"when": "textInputFocus", | |
"args": { | |
"sticky": false | |
} | |
}, | |
{ | |
"key": "cmd+u", | |
"command": "cursorHome", | |
"when": "textInputFocus" | |
}, | |
///////////////////////////// Cursor Word | |
{ | |
"key": "cmd+ctrl+l", | |
"command": "cursorWordEndRight", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+shift+right", | |
"command": "cursorWordEndRightSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+ctrl+j", | |
"command": "cursorWordStartLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+shift+left", | |
"command": "cursorWordStartLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "deleteWordLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+delete", | |
"command": "deleteWordRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
///////////////////////////// Select | |
{ | |
"key": "cmd+shift+j", | |
"command": "cursorLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+shift+l", | |
"command": "cursorRightSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+shift+k", | |
"command": "cursorDownSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+shift+i", | |
"command": "cursorUpSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+o", | |
"command": "cursorEndSelect", | |
"when": "textInputFocus", | |
"args": { | |
"sticky": false | |
} | |
}, | |
{ | |
"key": "ctrl+shift+u", | |
"command": "cursorHomeSelect", | |
"when": "textInputFocus", | |
"args": { | |
"sticky": false | |
} | |
}, | |
// Control output panel | |
//////////////////////////////////////////////////// Workbench up down left right | |
{ | |
"key": "cmd+k", | |
"command": "list.focusDown", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "list.focusUp", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "settings.action.focusSettingsFile", | |
"when": "inSettingsSearch && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "settings.action.focusSettingsFromSearch", | |
"when": "inSettingsSearch && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "workbench.action.interactivePlayground.arrowDown", | |
"when": "interactivePlaygroundFocus && !editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "workbench.action.terminal.navigationModeFocusNext", | |
"when": "accessibilityModeEnabled && terminalA11yTreeFocus && terminalNavigationModeActive && terminalProcessSupported || accessibilityModeEnabled && terminalFocus && terminalNavigationModeActive && terminalProcessSupported" | |
}, | |
// | |
{ | |
"key": "cmd+k", | |
"command": "history.showNext", | |
"when": "historyNavigationForwardsEnabled && historyNavigationWidgetFocus && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "history.showPrevious", | |
"when": "historyNavigationBackwardsEnabled && historyNavigationWidgetFocus && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "interactive.history.next", | |
"when": "!suggestWidgetVisible && resourceScheme == 'vscode-interactive' && interactiveInputCursorAtBoundary != 'none' && interactiveInputCursorAtBoundary != 'top'" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "interactive.history.previous", | |
"when": "!suggestWidgetVisible && resourceScheme == 'vscode-interactive' && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'" | |
}, | |
// | |
{ | |
"key": "cmd+k", | |
"command": "workbench.action.terminal.navigationModeFocusNext", | |
"when": "accessibilityModeEnabled && terminalA11yTreeFocus && terminalNavigationModeActive && terminalProcessSupported || accessibilityModeEnabled && terminalFocus && terminalNavigationModeActive && terminalProcessSupported" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "workbench.action.terminal.navigationModeFocusPrevious", | |
"when": "accessibilityModeEnabled && terminalA11yTreeFocus && terminalNavigationModeActive && terminalProcessSupported || accessibilityModeEnabled && terminalFocus && terminalNavigationModeActive && terminalProcessSupported" | |
}, | |
// | |
{ | |
"key": "cmd+k", | |
"command": "workbench.action.interactivePlayground.arrowDown", | |
"when": "interactivePlaygroundFocus && !editorTextFocus" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "workbench.action.interactivePlayground.arrowUp", | |
"when": "interactivePlaygroundFocus && !editorTextFocus" | |
}, | |
// | |
{ | |
"key": "cmd+k", | |
"command": "showNextParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "showPrevParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
// | |
{ | |
"key": "cmd+k", | |
"command": "workbench.banner.focusNextAction", | |
"when": "bannerFocused" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "workbench.banner.focusNextAction", | |
"when": "bannerFocused" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "workbench.banner.focusPreviousAction", | |
"when": "bannerFocused" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "workbench.banner.focusPreviousAction", | |
"when": "bannerFocused" | |
}, | |
// | |
{ | |
"key": "cmd+k", | |
"command": "workbench.statusBar.focusNext", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "workbench.statusBar.focusNext", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "workbench.statusBar.focusPrevious", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "workbench.statusBar.focusPrevious", | |
"when": "statusBarFocused" | |
}, | |
// | |
{ | |
"key": "cmd+down", | |
"command": "selectNextCodeAction", | |
"when": "codeActionMenuVisible" | |
}, | |
{ | |
"key": "down", | |
"command": "selectNextCodeAction", | |
"when": "codeActionMenuVisible" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "selectPrevCodeAction", | |
"when": "codeActionMenuVisible" | |
}, | |
{ | |
"key": "up", | |
"command": "selectPrevCodeAction", | |
"when": "codeActionMenuVisible" | |
}, | |
/////////////////////////////////////////////////////////////////////////////// | |
{ | |
"key": "cmd+]", | |
"command": "workbench.action.nextEditor", | |
"when": "!terminalFocus && !inReferenceSearchEditor && !referenceSearchVisible && !inOutput && !inDebugRepl && !inInteractiveSession && !inlineChatFocused" | |
// "when": "editorFocus || editorTextFocus" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "workbench.action.previousEditor", | |
"when": "!terminalFocus && !inReferenceSearchEditor && !referenceSearchVisible && !inOutput && !inDebugRepl && !inInteractiveSession && !inlineChatFocused" | |
// "when": "editorFocus || editorTextFocus" | |
}, | |
{ | |
"key": "cmd+ctrl+j", | |
"command": "-workbench.action.focusLeftGroup" | |
}, | |
{ | |
"key": "cmd+ctrl+l", | |
"command": "-workbench.action.focusRightGroup" | |
}, | |
{ | |
"key": "cmd+ctrl+i", | |
"command": "-workbench.action.focusAboveGroup" | |
}, | |
{ | |
"key": "cmd+ctrl+k", | |
"command": "-workbench.action.focusBelowGroup" | |
}, | |
{ | |
"key": "cmd+shift+[", | |
"command": "workbench.action.focusPreviousGroup" | |
}, | |
{ | |
"key": "cmd+shift+]", | |
"command": "workbench.action.focusNextGroup" | |
}, | |
{ | |
"key": "cmd+ctrl+[", | |
"command": "workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "cmd+ctrl+]", | |
"command": "workbench.action.moveEditorToNextGroup" | |
}, | |
/////////////////////////////////////////////////////////////////////////////// | |
{ | |
"key": "cmd+end", | |
"command": "cursorBottom", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+shift+end", | |
"command": "cursorBottomSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+home", | |
"command": "cursorTop", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+shift+home", | |
"command": "cursorTopSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+backspace", | |
"command": "deleteLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "backspace", | |
"command": "deleteLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "delete", | |
"command": "deleteRight", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+a", | |
"command": "editor.action.selectAll", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "outdent", | |
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "cmd+shift+z", | |
"command": "redo", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-redo", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "tab", | |
"command": "tab", | |
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "cmd+z", | |
"command": "undo", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+down", | |
"command": "cursorColumnSelectDown", | |
"when": "editorColumnSelection && textInputFocus" | |
}, | |
{ | |
"key": "shift+left", | |
"command": "cursorColumnSelectLeft", | |
"when": "editorColumnSelection && textInputFocus" | |
}, | |
{ | |
"key": "shift+pagedown", | |
"command": "cursorColumnSelectPageDown", | |
"when": "editorColumnSelection && textInputFocus" | |
}, | |
{ | |
"key": "shift+pageup", | |
"command": "cursorColumnSelectPageUp", | |
"when": "editorColumnSelection && textInputFocus" | |
}, | |
{ | |
"key": "shift+right", | |
"command": "cursorColumnSelectRight", | |
"when": "editorColumnSelection && textInputFocus" | |
}, | |
{ | |
"key": "shift+up", | |
"command": "cursorColumnSelectUp", | |
"when": "editorColumnSelection && textInputFocus" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "removeSecondaryCursors", | |
"when": "editorHasMultipleSelections && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "removeSecondaryCursors", | |
"when": "editorHasMultipleSelections && textInputFocus" | |
}, | |
{ | |
"key": "f12", | |
"command": "goToNextReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "f4", | |
"command": "goToNextReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "goToPreviousReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "shift+f4", | |
"command": "goToPreviousReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "refactorPreview.apply", | |
"when": "refactorPreview.enabled && refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" | |
}, | |
{ | |
"key": "escape", | |
"command": "notebook.cell.quitEdit", | |
"when": "inputFocus && notebookEditorFocused && !editorHasSelection && !editorHoverVisible && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "enter", | |
"command": "breakpointWidget.action.acceptInput", | |
"when": "breakpointWidgetVisible && inBreakpointWidget" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "closeBreakpointWidget", | |
"when": "breakpointWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeBreakpointWidget", | |
"when": "breakpointWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-cursorUndo", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+ctrl+[IntlBackslash]", | |
"command": "editor.action.autoFix", | |
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.autoFix", | |
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/" | |
}, | |
{ | |
"key": "cmd+shift+a", | |
"command": "editor.action.blockComment", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "escape", | |
"command": "editor.action.cancelSelectionAnchor", | |
"when": "editorTextFocus && selectionAnchorSet" | |
}, | |
{ | |
"key": "cmd+f2", | |
"command": "editor.action.changeAll", | |
"when": "editorTextFocus && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "editor.action.clipboardCopyAction", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+x", | |
"command": "editor.action.clipboardCutAction", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+insert", | |
"command": "editor.action.clipboardPasteAction", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "editor.action.clipboardPasteAction", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+/", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+shift+ctrl+down", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+shift+ctrl+up", | |
"command": "editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+shift+z", | |
"command": "editor.action.customEditor.redo", | |
"when": "focusedCustomEditorIsEditable && !inputFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.customEditor.redo", | |
"when": "focusedCustomEditorIsEditable && !inputFocus" | |
}, | |
{ | |
"key": "cmd+z", | |
"command": "editor.action.customEditor.undo", | |
"when": "focusedCustomEditorIsEditable && !inputFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.defineKeybinding", | |
"when": "editorTextFocus && !editorReadonly && editorLangId == 'jsonc'" | |
}, | |
{ | |
"key": "alt+f3", | |
"command": "editor.action.dirtydiff.next", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+ctrl+f3", | |
"command": "editor.action.dirtydiff.previous", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "editor.action.extensioneditor.findNext", | |
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "editor.action.extensioneditor.findPrevious", | |
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "editor.action.extensioneditor.showfind", | |
"when": "!editorFocus && activeEditor == 'workbench.editor.extension'" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.formatSelection", | |
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+f12", | |
"command": "editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "editor.action.goToReferences", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+shift+[IntlBackslash]", | |
"command": "editor.action.inPlaceReplace.down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.inPlaceReplace.down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+[IntlBackslash]", | |
"command": "editor.action.inPlaceReplace.up", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.inPlaceReplace.up", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.indentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+ctrl+i", | |
"command": "editor.action.insertCursorAtEndOfEachLineSelected", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "editor.action.insertLineAfter", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
// ************* Error navigation **************** | |
{ | |
"key": "alt+f8", | |
"command": "editor.action.marker.next", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+o", | |
"command": "editor.action.marker.nextInFiles", | |
"when": "editorFocus && !inDiffEditor" | |
}, | |
{ | |
"key": "shift+ctrl+f8", | |
"command": "editor.action.marker.prev", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+u", | |
"command": "editor.action.marker.prevInFiles", | |
"when": "editorFocus && !inDiffEditor" | |
}, | |
// in diff file | |
{ | |
"key": "ctrl+0", | |
"command": "editor.action.diffReview.next", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "editor.action.diffReview.prev", | |
"when": "isInDiffEditor" | |
}, | |
// >>>>>>>>>>>>> Error navigation <<<<<<<<<<<<<<<<< | |
{ | |
"key": "alt+down", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.moveSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "f3", | |
"command": "editor.action.nextMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "editor.action.nextMatchFindAction", | |
"when": "editorFocus && findInputFocussed" | |
}, | |
{ | |
"key": "cmd+f3", | |
"command": "editor.action.nextSelectionMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+shift+f2", | |
"command": "editor.action.onTypeRename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+ctrl+o", | |
"command": "-editor.action.organizeImports", | |
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.outdentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+shift+f12", | |
"command": "editor.action.peekImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+f3", | |
"command": "editor.action.previousMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "editor.action.previousMatchFindAction", | |
"when": "editorFocus && findInputFocussed" | |
}, | |
{ | |
"key": "cmd+shift+f3", | |
"command": "editor.action.previousSelectionMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+shift+r", | |
"command": "editor.action.refactor", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.removeCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.revealDefinitionAside", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.selectFromAnchorToCursor", | |
"when": "editorTextFocus && selectionAnchorSet" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.setSelectionAnchor", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+f1", | |
"command": "editor.action.showAccessibilityHelp", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+ctrl+f1", | |
"command": "editor.action.showAccessibilityHelp", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+f10", | |
"command": "editor.action.showContextMenu", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+ctrl+right", | |
"command": "editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+ctrl+left", | |
"command": "editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+shift+ctrl+alt+space", | |
"command": "-editor.action.toggleTabFocusMode" | |
}, | |
{ | |
"key": "ctrl+z", | |
"command": "editor.action.toggleWordWrap" | |
}, | |
{ | |
"key": "cmd+shift+space", | |
"command": "editor.action.triggerParameterHints", | |
"when": "editorHasSignatureHelpProvider && editorTextFocus" | |
}, | |
{ | |
"key": "cmd+space", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.trimTrailingWhitespace", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "enter", | |
"command": "editor.action.webvieweditor.findNext", | |
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "editor.action.webvieweditor.findPrevious", | |
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'" | |
}, | |
{ | |
"key": "escape", | |
"command": "editor.action.webvieweditor.hideFind", | |
"when": "webviewFindWidgetVisible && !editorFocus && activeEditor == 'WebviewEditor'" | |
}, | |
{ | |
"key": "cmd+a", | |
"command": "editor.action.webvieweditor.selectAll", | |
"when": "!editorFocus && !inputFocus && activeEditor == 'WebviewEditor'" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "editor.action.webvieweditor.showFind", | |
"when": "!editorFocus && activeEditor == 'WebviewEditor'" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "editor.action.wordHighlight.next", | |
"when": "editorTextFocus && hasWordHighlights" | |
}, | |
{ | |
"key": "ctrl+shift+j", | |
"command": "editor.action.wordHighlight.prev", | |
"when": "editorTextFocus && hasWordHighlights" | |
}, | |
{ | |
"key": "escape", | |
"command": "editor.cancelOperation", | |
"when": "cancellableOperation" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.debug.action.showDebugHover", | |
"when": "editorTextFocus && inDebugMode" | |
}, | |
{ | |
"key": "f9", | |
"command": "editor.debug.action.toggleBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "tab", | |
"command": "editor.emmet.action.expandAbbreviation", | |
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldAllBlockComments", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldAllMarkerRegions", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel1", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel2", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel3", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel4", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel5", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel6", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel7", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "f12", | |
"command": "editor.gotoNextSymbolFromResult", | |
"when": "hasSymbols" | |
}, | |
{ | |
"key": "escape", | |
"command": "editor.gotoNextSymbolFromResult.cancel", | |
"when": "hasSymbols" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.unfoldAllMarkerRegions", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.unfoldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "tab", | |
"command": "insertSnippet", | |
"when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "notebook.cell.copy", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "cmd+x", | |
"command": "notebook.cell.cut", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.execute", | |
"when": "notebookEditorFocused && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "notebook.cell.executeAndInsertBelow", | |
"when": "notebookEditorFocused && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "notebook.cell.executeAndSelectBelow", | |
"when": "notebookEditorFocused && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "notebook.cell.paste", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.pasteAbove", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cursorDown", | |
"when": "editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cursorUp", | |
"when": "editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.formatCell", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "", | |
"command": "-openReferenceToSide", | |
"when": "listFocus && referenceSearchVisible && !inputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "repl.action.acceptInput", | |
"when": "inDebugRepl && textInputFocus" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "repl.action.filter", | |
"when": "inDebugRepl && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "settings.action.clearSearchResults", | |
"when": "inSettingsSearch" | |
}, | |
{ | |
"key": "", | |
"command": "-settings.action.editFocusedSetting", | |
"when": "inSettingsSearch" | |
}, | |
{ | |
"key": "enter", | |
"command": "settings.action.focusNextSetting", | |
"when": "inSettingsSearch" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "settings.action.focusPreviousSetting", | |
"when": "inSettingsSearch" | |
}, | |
{ | |
"key": "", | |
"command": "-settings.action.focusSettingsFile", | |
"when": "inSettingsSearch && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "settings.action.search", | |
"when": "inSettingsEditor" | |
}, | |
{ | |
"key": "cmd+/", | |
"command": "toggleExplainMode", | |
"when": "suggestWidgetVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "workbench.action.hideComment", | |
"when": "commentEditorFocused" | |
}, | |
{ | |
"key": "escape", | |
"command": "workbench.action.hideComment", | |
"when": "commentEditorFocused" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "workbench.action.submitComment", | |
"when": "commentEditorFocused" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "closeFindWidget", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeFindWidget", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "tab", | |
"command": "jumpToNextSnippetPlaceholder", | |
"when": "editorTextFocus && hasNextTabstop && inSnippetMode" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "jumpToPrevSnippetPlaceholder", | |
"when": "editorTextFocus && hasPrevTabstop && inSnippetMode" | |
}, | |
{ | |
"key": "escape", | |
"command": "leaveEditorMessage", | |
"when": "messageVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "leaveSnippet", | |
"when": "editorTextFocus && inSnippetMode" | |
}, | |
{ | |
"key": "escape", | |
"command": "leaveSnippet", | |
"when": "editorTextFocus && inSnippetMode" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "closeDirtyDiff", | |
"when": "dirtyDiffVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeDirtyDiff", | |
"when": "dirtyDiffVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "closeMarkersNavigation", | |
"when": "editorFocus && markersNavigationVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeMarkersNavigation", | |
"when": "editorFocus && markersNavigationVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "closeParameterHints", | |
"when": "editorFocus && parameterHintsVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeParameterHints", | |
"when": "editorFocus && parameterHintsVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-showPrevParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "acceptAlternativeSelectedSuggestion", | |
"when": "suggestWidgetVisible && textInputFocus && textInputFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "acceptAlternativeSelectedSuggestion", | |
"when": "suggestWidgetVisible && textInputFocus && textInputFocus" | |
}, | |
{ | |
"key": "tab", | |
"command": "acceptSelectedSuggestion", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "acceptSelectedSuggestion", | |
"when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "hideSuggestWidget", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "hideSuggestWidget", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "tab", | |
"command": "insertBestCompletion", | |
"when": "atEndOfWord && textInputFocus && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" | |
}, | |
{ | |
"key": "tab", | |
"command": "insertNextSuggestion", | |
"when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "insertPrevSuggestion", | |
"when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" | |
}, | |
{ | |
"key": "", | |
"command": "-toggleSuggestionDetails", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "cmd+space", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-toggleSuggestionFocus", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "acceptRenameInput", | |
"when": "editorFocus && renameInputVisible" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "acceptRenameInputWithPreview", | |
"when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "cancelOnTypeRenameInput", | |
"when": "editorTextFocus && onTypeRenameInputVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "cancelOnTypeRenameInput", | |
"when": "editorTextFocus && onTypeRenameInputVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "cancelRenameInput", | |
"when": "editorFocus && renameInputVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "cancelRenameInput", | |
"when": "editorFocus && renameInputVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-breadcrumbs.focus", | |
"when": "breadcrumbsPossible" | |
}, | |
{ | |
"key": "cmd+shift+[IntlBackslash]", | |
"command": "breadcrumbs.focusAndSelect", | |
"when": "breadcrumbsPossible" | |
}, | |
{ | |
"key": "", | |
"command": "-breadcrumbs.focusAndSelect", | |
"when": "breadcrumbsPossible" | |
}, | |
{ | |
"key": "cmd+right", | |
"command": "breadcrumbs.focusNext", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "right", | |
"command": "breadcrumbs.focusNext", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "cmd+left", | |
"command": "breadcrumbs.focusPrevious", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "left", | |
"command": "breadcrumbs.focusPrevious", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "breadcrumbs.revealFocused", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "space", | |
"command": "breadcrumbs.revealFocused", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "breadcrumbs.revealFocusedFromTreeAside", | |
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-breadcrumbs.selectFocused", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "enter", | |
"command": "breadcrumbs.selectFocused", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "cmd+shift+[IntlBackslash]", | |
"command": "breadcrumbs.toggleToOn", | |
"when": "!config.breadcrumbs.enabled" | |
}, | |
{ | |
"key": "", | |
"command": "-breadcrumbs.toggleToOn", | |
"when": "!config.breadcrumbs.enabled" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "closeAccessibilityHelp", | |
"when": "accessibilityHelpWidgetVisible && editorFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeAccessibilityHelp", | |
"when": "accessibilityHelpWidgetVisible && editorFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeReplaceInFilesWidget", | |
"when": "replaceInputBoxFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+ctrl+c", | |
"command": "-copyFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "cmd+shift+ctrl+c", | |
"command": "copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "debug.openBreakpointToSide", | |
"when": "breakpointsFocused" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "debug.openBreakpointToSide", | |
"when": "breakpointsFocused" | |
}, | |
{ | |
"key": "delete", | |
"command": "debug.removeBreakpoint", | |
"when": "breakpointsFocused && !breakpointSelected" | |
}, | |
{ | |
"key": "delete", | |
"command": "debug.removeWatchExpression", | |
"when": "watchExpressionsFocused && !expressionSelected" | |
}, | |
{ | |
"key": "shift+f9", | |
"command": "editor.debug.action.toggleInlineBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "editor.refocusCallHierarchy", | |
"when": "callHierarchyVisible" | |
}, | |
{ | |
"key": "shift+ctrl+h", | |
"command": "editor.showCallHierarchy", | |
"when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor" | |
}, | |
{ | |
"key": "shift+ctrl+h", | |
"command": "editor.toggleCallHierarchy", | |
"when": "callHierarchyVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-explorer.openToSide", | |
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus" | |
}, | |
{ | |
"key": "shift+ctrl+f", | |
"command": "filesExplorer.findInFolder", | |
"when": "explorerResourceIsFolder && explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "history.showNext", | |
"when": "historyNavigationEnabled && historyNavigationWidget" | |
}, | |
{ | |
"key": "", | |
"command": "-history.showNext", | |
"when": "historyNavigationEnabled && historyNavigationWidget" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "history.showPrevious", | |
"when": "historyNavigationEnabled && historyNavigationWidget" | |
}, | |
{ | |
"key": "", | |
"command": "-history.showPrevious", | |
"when": "historyNavigationEnabled && historyNavigationWidget" | |
}, | |
{ | |
"key": "escape", | |
"command": "keybindings.editor.clearSearchResults", | |
"when": "inKeybindings && inKeybindingsSearch" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "keybindings.editor.copyKeybindingEntry", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-keybindings.editor.defineKeybinding", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-keybindings.editor.defineWhenExpression", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-keybindings.editor.focusKeybindings", | |
"when": "inKeybindings && inKeybindingsSearch" | |
}, | |
{ | |
"key": "", | |
"command": "-keybindings.editor.recordSearchKeys", | |
"when": "inKeybindings && inKeybindingsSearch" | |
}, | |
{ | |
"key": "delete", | |
"command": "keybindings.editor.removeKeybinding", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "keybindings.editor.searchKeybindings", | |
"when": "inKeybindings" | |
}, | |
{ | |
"key": "alt+p", | |
"command": "keybindings.editor.toggleSortByPrecedence", | |
"when": "inKeybindings" | |
}, | |
{ | |
"key": "escape", | |
"command": "list.clear", | |
"when": "listFocus && listHasSelectionOrFocus && !inputFocus" | |
}, | |
{ | |
"key": "left", | |
"command": "list.collapse", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+left", | |
"command": "list.collapseAll", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "right", | |
"command": "list.expand", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "shift+down", | |
"command": "list.expandSelectionDown", | |
"when": "listFocus && listSupportsMultiselect && !inputFocus" | |
}, | |
{ | |
"key": "shift+up", | |
"command": "list.expandSelectionUp", | |
"when": "listFocus && listSupportsMultiselect && !inputFocus" | |
}, | |
{ | |
"key": "home", | |
"command": "list.focusFirst", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "end", | |
"command": "list.focusLast", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "pageup", | |
"command": "list.focusPageUp", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "list.scrollDown", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "list.scrollUp", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "list.select", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+a", | |
"command": "list.selectAll", | |
"when": "listFocus && listSupportsMultiselect && !inputFocus" | |
}, | |
{ | |
"key": "space", | |
"command": "list.toggleExpand", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+shift+enter", | |
"command": "list.toggleSelection", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "y", | |
"command": "notebook.cell.changeToCode", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "m", | |
"command": "notebook.cell.changeToMarkdown", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "shift+ctrl+down", | |
"command": "notebook.cell.copyDown", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "shift+ctrl+up", | |
"command": "notebook.cell.copyUp", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "delete", | |
"command": "notebook.cell.delete", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "enter", | |
"command": "notebook.cell.edit", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "notebook.cell.focusInOutput", | |
"when": "notebookCellHasOutputs && notebookEditorFocused && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "notebook.cell.focusOutOutput", | |
"when": "notebookEditorFocused && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.insertCodeCellAbove", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.insertCodeCellBelow", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "notebook.cell.moveDown", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "notebook.cell.moveUp", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.centerActiveCell", | |
"when": "notebookEditorFocused && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "notebook.find", | |
"when": "notebookEditorFocused" | |
}, | |
{ | |
"key": "cmd+end", | |
"command": "notebook.focusBottom", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "cmd+home", | |
"command": "notebook.focusTop", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "left", | |
"command": "notebook.fold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.format", | |
"when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "escape", | |
"command": "notebook.hideFind", | |
"when": "notebookEditorFocused && notebookFindWidgetFocused" | |
}, | |
{ | |
"key": "cmd+shift+z", | |
"command": "notebook.redo", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+z", | |
"command": "notebook.undo", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "right", | |
"command": "notebook.unfold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "delete", | |
"command": "notification.clear", | |
"when": "notificationFocus" | |
}, | |
{ | |
"key": "left", | |
"command": "notification.collapse", | |
"when": "notificationFocus" | |
}, | |
{ | |
"key": "right", | |
"command": "notification.expand", | |
"when": "notificationFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "notification.toggle", | |
"when": "notificationFocus" | |
}, | |
{ | |
"key": "space", | |
"command": "notification.toggle", | |
"when": "notificationFocus" | |
}, | |
{ | |
"key": "home", | |
"command": "notifications.focusFirstToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ | |
"key": "pageup", | |
"command": "notifications.focusFirstToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ | |
"key": "end", | |
"command": "notifications.focusLastToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-notifications.focusNextToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-notifications.focusPreviousToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "problems.action.copy", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "problems.action.focusFilter", | |
"when": "focusedView == 'workbench.panel.markers.view'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "problems.action.focusProblemsFromFilter", | |
"when": "problemsFilterFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-problems.action.openToSide", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "space", | |
"command": "refactorPreview.toggleCheckedState", | |
"when": "listFocus && refactorPreview.enabled && !inputFocus" | |
}, | |
{ | |
"key": "cmd+ctrl+r", | |
"command": "revealFileInOS", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-scm.acceptInput", | |
"when": "scmRepository" | |
}, | |
{ | |
"key": "escape", | |
"command": "search.action.cancel", | |
"when": "listFocus && searchViewletVisible && !inputFocus" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "search.action.copyMatch", | |
"when": "fileMatchOrMatchFocus" | |
}, | |
{ | |
"key": "cmd+ctrl+c", | |
"command": "-search.action.copyPath", | |
"when": "fileMatchOrFolderMatchWithResourceFocus" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "search.action.focusSearchFromResults", | |
"when": "firstMatchFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "-editor.action.joinLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-search.action.openInEditor", | |
"when": "hasSearchResult && searchViewletFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-search.action.openResultToSide", | |
"when": "fileMatchOrMatchFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "delete", | |
"command": "search.action.remove", | |
"when": "fileMatchOrMatchFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-settings.action.focusSettingsFromSearch", | |
"when": "inSettingsSearch && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "enter", | |
"command": "settings.action.focusSettingsList", | |
"when": "inSettingsEditor && settingsTocRowFocus" | |
}, | |
{ | |
"key": "shift+f9", | |
"command": "settings.action.showContextMenu", | |
"when": "inSettingsEditor" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.closeActiveEditor", | |
"when": "!terminalFocus && !inReferenceSearchEditor && !referenceSearchVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeAllEditors" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeAllGroups" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeFolder" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.closeGroup", | |
"when": "activeEditorGroupEmpty && multipleEditorGroups" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "workbench.action.closeQuickOpen", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "escape", | |
"command": "workbench.action.closeQuickOpen", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeUnmodifiedEditors" | |
}, | |
{ | |
"key": "cmd+shift+w", | |
"command": "workbench.action.closeWindow" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "workbench.action.closeWindow", | |
"when": "!editorIsOpen && !multipleEditorGroups" | |
}, | |
{ | |
"key": "ctrl+0", | |
"command": "workbench.action.compareEditor.nextChange", | |
"when": "textCompareEditorVisible" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "workbench.action.compareEditor.previousChange", | |
"when": "textCompareEditorVisible" | |
}, | |
{ | |
"key": "f5", | |
"command": "workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "cmd+shift+f5", | |
"command": "workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "cmd+f5", | |
"command": "workbench.action.debug.run" | |
}, | |
{ | |
"key": "f5", | |
"command": "workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "shift+f11", | |
"command": "workbench.action.debug.stepOut", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "f10", | |
"command": "workbench.action.debug.stepOver", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "shift+f5", | |
"command": "workbench.action.debug.stop", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.editor.changeLanguageMode" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.copyPathOfActiveFile" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.files.newUntitledFile", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.openFolder" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.openLocalFile", | |
"when": "remoteFileDialogVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.openLocalFolder", | |
"when": "remoteFileDialogVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.revealActiveFileInWindows" | |
}, | |
{ | |
"key": "cmd+s", | |
"command": "workbench.action.files.save" | |
}, | |
{ | |
"key": "cmd+shift+s", | |
"command": "workbench.action.files.saveAs" | |
}, | |
{ | |
"key": "cmd+shift+s", | |
"command": "workbench.action.files.saveLocalFile", | |
"when": "remoteFileDialogVisible" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.saveWithoutFormatting" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.showOpenedFileInNewWindow" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusAboveGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusBelowGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusEighthEditorGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusFifthEditorGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusFourthEditorGroup" | |
}, | |
{ | |
"key": "f6", | |
"command": "workbench.action.focusNextPart" | |
}, | |
{ | |
"key": "shift+f6", | |
"command": "workbench.action.focusPreviousPart" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusSecondEditorGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusSeventhEditorGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusSideBar" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusSixthEditorGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.focusThirdEditorGroup" | |
}, | |
{ | |
"key": "cmd+g", | |
"command": "workbench.action.gotoLine" | |
}, | |
{ | |
"key": "cmd+shift+o", | |
"command": "workbench.action.gotoSymbol", | |
"when": "!terminalAccessibleBufferFocus" | |
}, | |
{ | |
"key": "cmd+ctrl+o", | |
"command": "-outline.focus" | |
}, | |
{ | |
"key": "cmd+shift+u", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "escape", | |
"command": "workbench.action.hideInterfaceOverview", | |
"when": "interfaceOverviewVisible" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "list.focusPageDown", | |
"when": "listFocus && !inputFocus" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "notifications.focusLastToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "workbench.action.interactivePlayground.pageDown", | |
"when": "interactivePlaygroundFocus && !editorTextFocus" | |
}, | |
{ | |
"key": "pageup", | |
"command": "workbench.action.interactivePlayground.pageUp", | |
"when": "interactivePlaygroundFocus && !editorTextFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.keepEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.keybindingsReference" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.lastEditorInGroup" | |
}, | |
{ | |
"key": "alt+0", | |
"command": "-workbench.action.lastEditorInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveActiveEditorGroupDown" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveActiveEditorGroupLeft" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveActiveEditorGroupRight" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveActiveEditorGroupUp" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveEditorLeftInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveEditorRightInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveEditorToFirstGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveEditorToLastGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveEditorToNextGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.navigateBack" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.navigateForward" | |
}, | |
{ | |
"key": "cmd+shift+n", | |
"command": "-workbench.action.newWindow" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.nextEditorInGroup" | |
}, | |
{ | |
"key": "alt+1", | |
"command": "-workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "alt+2", | |
"command": "-workbench.action.openEditorAtIndex2" | |
}, | |
{ | |
"key": "alt+3", | |
"command": "-workbench.action.openEditorAtIndex3" | |
}, | |
{ | |
"key": "alt+4", | |
"command": "-workbench.action.openEditorAtIndex4" | |
}, | |
{ | |
"key": "alt+5", | |
"command": "-workbench.action.openEditorAtIndex5" | |
}, | |
{ | |
"key": "alt+6", | |
"command": "-workbench.action.openEditorAtIndex6" | |
}, | |
{ | |
"key": "alt+7", | |
"command": "-workbench.action.openEditorAtIndex7" | |
}, | |
{ | |
"key": "alt+8", | |
"command": "-workbench.action.openEditorAtIndex8" | |
}, | |
{ | |
"key": "alt+9", | |
"command": "-workbench.action.openEditorAtIndex9" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.openGlobalKeybindings" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.openRecent" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.openSettings" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.pinEditor", | |
"when": "config.workbench.editor.showTabs && !editorSticky" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.previousEditorInGroup" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "cmd+shift+tab", | |
"command": "workbench.action.quickOpenLeastRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "cmd+tab", | |
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "cmd+q", | |
"command": "workbench.action.quit" | |
}, | |
{ | |
"key": "cmd+shift+t", | |
"command": "workbench.action.reopenClosedEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.replaceInFiles" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.selectTheme" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.showAllEditors" | |
}, | |
{ | |
"key": "cmd+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "f1", | |
"command": "workbench.action.showCommands" | |
}, | |
{ | |
"key": "cmd+shift+p", | |
"command": "workbench.action.showCommands" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.splitEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.splitEditorOrthogonal" | |
}, | |
{ | |
"key": "cmd+shift+b", | |
"command": "-workbench.action.tasks.build" | |
}, | |
{ | |
"key": "cmd+ctrl+b", | |
"command": "-workbench.action.tasks.reRunTask" | |
}, | |
{ | |
"key": "escape", | |
"command": "workbench.action.terminal.clearSelection", | |
"when": "terminalFocus && terminalTextSelected && !terminalFindVisible" | |
}, | |
{ | |
"key": "cmd+shift+c", | |
"command": "workbench.action.terminal.copySelection", | |
"when": "terminalFocus && terminalTextSelected" | |
}, | |
{ | |
"key": "f3", | |
"command": "workbench.action.terminal.findNext", | |
"when": "terminalFindFocused || terminalFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "workbench.action.terminal.findNext", | |
"when": "terminalFindFocused" | |
}, | |
{ | |
"key": "shift+f3", | |
"command": "-workbench.action.terminal.findPrevious", | |
"when": "terminalFindFocused || terminalFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "workbench.action.terminal.findPrevious", | |
"when": "terminalFindFocused" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "workbench.action.terminal.focusFind", | |
"when": "terminalFindFocused || terminalFocus" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "workbench.action.terminal.hideFind", | |
"when": "terminalFindVisible && terminalFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "workbench.action.terminal.hideFind", | |
"when": "terminalFindVisible && terminalFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "workbench.action.terminal.navigationModeExit", | |
"when": "accessibilityModeEnabled && terminalA11yTreeFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "workbench.action.terminal.navigationModeFocusNext", | |
"when": "accessibilityModeEnabled && terminalA11yTreeFocus || accessibilityModeEnabled && terminalFocus" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "workbench.action.terminal.navigationModeFocusPrevious", | |
"when": "accessibilityModeEnabled && terminalA11yTreeFocus || accessibilityModeEnabled && terminalFocus" | |
}, | |
{ | |
"key": "cmd+shift+`", | |
"command": "workbench.action.terminal.new" | |
}, | |
{ | |
"key": "cmd+shift+c", | |
"command": "-workbench.action.terminal.openNativeConsole", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.terminal.paste", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+shift+left", | |
"command": "workbench.action.terminal.resizePaneLeft", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+shift+right", | |
"command": "workbench.action.terminal.resizePaneRight", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+shift+down", | |
"command": "workbench.action.terminal.scrollDown", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+pagedown", | |
"command": "workbench.action.terminal.scrollDownPage", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+end", | |
"command": "workbench.action.terminal.scrollToBottom", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+home", | |
"command": "workbench.action.terminal.scrollToTop", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+shift+up", | |
"command": "workbench.action.terminal.scrollUp", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+pageup", | |
"command": "workbench.action.terminal.scrollUpPage", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "workbench.action.terminal.sendSequence", | |
"when": "terminalFocus", | |
"args": { | |
"text": "\u0017" | |
} | |
}, | |
{ | |
"key": "cmd+delete", | |
"command": "workbench.action.terminal.sendSequence", | |
"when": "terminalFocus", | |
"args": { | |
"text": "\u001bd" | |
} | |
}, | |
{ | |
"key": "", | |
"command": "workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+c", | |
"command": "workbench.action.terminal.toggleFindCaseSensitive", | |
"when": "terminalFindFocused || terminalFocus" | |
}, | |
{ | |
"key": "alt+r", | |
"command": "workbench.action.terminal.toggleFindRegex", | |
"when": "terminalFindFocused || terminalFocus" | |
}, | |
{ | |
"key": "alt+w", | |
"command": "workbench.action.terminal.toggleFindWholeWord", | |
"when": "terminalFindFocused || terminalFocus" | |
}, | |
{ | |
"key": "shift+ctrl+0", | |
"command": "-workbench.action.toggleEditorGroupLayout" | |
}, | |
{ | |
"key": "f11", | |
"command": "workbench.action.toggleFullScreen" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.togglePanel" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.toggleTabsVisibility" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.unpinEditor", | |
"when": "config.workbench.editor.showTabs && editorSticky" | |
}, | |
{ | |
"key": "cmd+numpad_add", | |
"command": "-workbench.action.zoomIn" | |
}, | |
{ | |
"key": "shift+cmd+=", | |
"command": "-workbench.action.zoomIn" | |
}, | |
{ | |
"key": "cmd+=", | |
"command": "-workbench.action.zoomIn", | |
}, | |
{ | |
"key": "ctrl+=", | |
"command": "-workbench.action.zoomIn", | |
"when": "!inSearchEditor" | |
}, | |
{ | |
"key": "shift+cmd+-", | |
"command": "-workbench.action.zoomOut" | |
}, | |
{ | |
"key": "cmd+-", | |
"command": "-workbench.action.zoomOut" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.zoomOut", | |
"when": "!inSearchEditor" | |
}, | |
{ | |
"key": "cmd+numpad_subtract", | |
"command": "workbench.action.zoomOut" | |
}, | |
{ | |
"key": "cmd+numpad0", | |
"command": "workbench.action.zoomReset" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.debug.action.toggleRepl" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.extensions.action.showRecommendedKeymapExtensions" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.files.action.compareWithClipboard" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.files.action.compareWithSaved" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.files.action.focusOpenEditorsView", | |
"when": "workbench.explorer.openEditorsView.active" | |
}, | |
{ | |
"key": "escape", | |
"command": "workbench.statusBar.clearFocus", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "home", | |
"command": "workbench.statusBar.focusFirst", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "end", | |
"command": "workbench.statusBar.focusLast", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.statusBar.focusNext", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "right", | |
"command": "workbench.statusBar.focusNext", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.statusBar.focusPrevious", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "left", | |
"command": "workbench.statusBar.focusPrevious", | |
"when": "statusBarFocused" | |
}, | |
{ | |
"key": "cmd+shift+d", | |
"command": "workbench.view.debug" | |
}, | |
{ | |
"key": "cmd+shift+x", | |
"command": "workbench.view.extensions" | |
}, | |
{ | |
"key": "cmd+shift+g", | |
"command": "-workbench.view.scm" | |
}, | |
{ | |
"key": "cmd+right", | |
"command": "breadcrumbs.focusNextWithPicker", | |
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+left", | |
"command": "breadcrumbs.focusPreviousWithPicker", | |
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "breadcrumbs.selectEditor", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "", | |
"command": "views.moveViewDown", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "", | |
"command": "views.moveViewLeft", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "", | |
"command": "views.moveViewRight", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "", | |
"command": "views.moveViewUp", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "f6", | |
"command": "workbench.action.debug.pause", | |
"when": "debugState == 'running'" | |
}, | |
{ | |
"key": "f2", | |
"command": "debug.renameWatchExpression", | |
"when": "watchExpressionsFocused" | |
}, | |
{ | |
"key": "f2", | |
"command": "debug.setVariable", | |
"when": "variablesFocused" | |
}, | |
{ | |
"key": "space", | |
"command": "debug.toggleBreakpoint", | |
"when": "breakpointsFocused && !inputFocus" | |
}, | |
{ | |
"key": "shift+delete", | |
"command": "deleteFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "delete", | |
"command": "deleteFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "editor.closeCallHierarchy", | |
"when": "callHierarchyVisible && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "escape", | |
"command": "filesExplorer.cancelCut", | |
"when": "explorerResourceCut && explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "filesExplorer.copy", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ | |
"key": "cmd+x", | |
"command": "filesExplorer.cut", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ | |
"key": "space", | |
"command": "filesExplorer.openFilePreserveFocus", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder && !inputFocus" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "filesExplorer.paste", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "home", | |
"command": "firstCompressedFolder", | |
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedFirstFocus && !inputFocus" | |
}, | |
{ | |
"key": "end", | |
"command": "lastCompressedFolder", | |
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedLastFocus && !inputFocus" | |
}, | |
{ | |
"key": "delete", | |
"command": "moveFileToTrash", | |
"when": "explorerResourceMoveableToTrash && explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "right", | |
"command": "nextCompressedFolder", | |
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedLastFocus && !inputFocus" | |
}, | |
{ | |
"key": "left", | |
"command": "previousCompressedFolder", | |
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedFirstFocus && !inputFocus" | |
}, | |
{ | |
"key": "delete", | |
"command": "remote.tunnel.closeInline", | |
"when": "tunnelCloseable && tunnelViewFocus" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "remote.tunnel.copyAddressInline", | |
"when": "tunnelViewFocus && tunnelType == 'Detected' || tunnelViewFocus && tunnelType == 'Forwarded'" | |
}, | |
{ | |
"key": "f2", | |
"command": "remote.tunnel.label", | |
"when": "tunnelViewFocus && tunnelType == 'Forwarded'" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "f11", | |
"command": "workbench.action.debug.stepInto", | |
"when": "debugState != 'inactive'" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "closeReferenceSearch", | |
"when": "referenceSearchVisible && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeReferenceSearch", | |
"when": "referenceSearchVisible && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "escape", | |
"command": "notifications.hideList", | |
"when": "notificationCenterVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "notifications.hideToasts", | |
"when": "notificationToastsVisible" | |
}, | |
{ | |
"key": "cmd+ctrl+-", | |
"command": "workbench.action.quickInputBack", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "cmd+tab", | |
"command": "workbench.action.quickOpenNavigateNextInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.quickOpenNavigateNextInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "workbench.action.quickOpenNavigateNextInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.quickOpenNavigateNextInRecentFilesPicker", | |
"when": "inQuickOpen && inRecentFilesPicker" | |
}, | |
{ | |
"key": "cmd+shift+tab", | |
"command": "workbench.action.quickOpenNavigatePreviousInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "cmd+shift+p", | |
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "cmd+shift+r", | |
"command": "workbench.action.quickOpenNavigatePreviousInRecentFilesPicker", | |
"when": "inQuickOpen && inRecentFilesPicker" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.reloadWindow", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.toggleDevTools", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "f10", | |
"command": "extension.node-debug.startWithStopOnEntry", | |
"when": "!inDebugMode && debugConfigurationType == 'node'" | |
}, | |
{ | |
"key": "", | |
"command": "-git.stageSelectedRanges", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-markdown.showPreview", | |
"when": "editorLangId == 'markdown'" | |
}, | |
{ | |
"key": "shift+ctrl+f12", | |
"command": "references-view.find", | |
"when": "editorHasReferenceProvider" | |
}, | |
{ | |
"key": "", | |
"command": "-git.unstageSelectedRanges", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-markdown.showPreviewToSide", | |
"when": "editorLangId == 'markdown'" | |
}, | |
{ | |
"key": "f4", | |
"command": "references-view.next", | |
"when": "reference-list.hasResult" | |
}, | |
{ | |
"key": "", | |
"command": "-git.revertSelectedRanges", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "shift+f4", | |
"command": "references-view.prev", | |
"when": "reference-list.hasResult" | |
}, | |
{ | |
"key": "shift+ctrl+h", | |
"command": "references-view.showCallHierarchy", | |
"when": "editorHasCallHierarchyProvider" | |
}, | |
{ | |
"key": "", | |
"command": "-extension.createLicenseFile", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-extension.updateSettings" | |
}, | |
// { | |
// "key": "enter", | |
// "command": "pythonIndent.newlineAndIndent", | |
// "when": "editorTextFocus && !editorHasMultipleSelections && !suggestWidgetVisible && !vim.active && editorLangId == 'python'" | |
// }, | |
{ | |
"key": "cmd+shift+r", | |
"command": "restructuredtext.showPreview", | |
"when": "editorLangId == 'restructuredtext'" | |
}, | |
{ | |
"key": "shift+ctrl+d", | |
"command": "extension.downloadSettings" | |
}, | |
{ | |
"key": "", | |
"command": "-extension.insertLicenseHeader", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "pythonIndent.newlineAndIndent", | |
"when": "editorTextFocus && vim.active && !editorHasMultipleSelections && !suggestWidgetVisible && editorLangId == 'python' && vim.mode =~ /(Insert|Replace|SurroundInputMode)/" | |
}, | |
{ | |
"key": "", | |
"command": "-restructuredtext.showPreviewToSide", | |
"when": "editorLangId == 'restructuredtext'" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.view", | |
"when": "config.latex-workshop.bind.altKeymap.enabled && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-jupyter.runcurrentcelladvance", | |
"when": "editorTextFocus && jupyter.featureenabled && jupyter.hascodecells && !editorHasSelection" | |
}, | |
{ | |
"key": "", | |
"command": "-restructuredtext.features.underline.underline", | |
"when": "editorLangId == 'restructuredtext'" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.synctex", | |
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && editorLangId == 'latex'" | |
}, | |
{ | |
"key": "", | |
"command": "-jupyter.runcurrentcell", | |
"when": "editorTextFocus && jupyter.featureenabled && jupyter.hascodecells && !editorHasSelection" | |
}, | |
{ | |
"key": "", | |
"command": "-restructuredtext.features.underline.underlineReverse", | |
"when": "editorLangId == 'restructuredtext'" | |
}, | |
{ | |
"key": "", | |
"command": "-jupyter.runcurrentcellandaddbelow", | |
"when": "editorTextFocus && jupyter.featureenabled && jupyter.hascodecells && !editorHasSelection" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.view.extension.latex", | |
"when": "config.latex-workshop.bind.altKeymap.enabled" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.synctex", | |
"when": "editorTextFocus && !config.latex-workshop.bind.altKeymap.enabled && editorLangId == 'latex'" | |
}, | |
{ | |
"key": "cmd+ctrl+x", | |
"command": "workbench.view.extension.latex", | |
"when": "!config.latex-workshop.bind.altKeymap.enabled" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.promote-sectioning", | |
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.demote-sectioning", | |
"when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.promote-sectioning", | |
"when": "editorTextFocus && !config.latex-workshop.bind.altKeymap.enabled && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.demote-sectioning", | |
"when": "editorTextFocus && !config.latex-workshop.bind.altKeymap.enabled && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.item", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.textbf", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.textit", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.underline", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.emph", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.textrm", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.texttt", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.textsl", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.textsc", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.textnormal", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.textsuperscript", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.textsubscript", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.mathbf", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.mathit", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.mathrm", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.mathtt", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.mathsf", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.mathbb", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.shortcut.mathcal", | |
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-expandLineSelection", | |
"when": "textInputFocus && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.toggleTabFocusMode", | |
"when": "textInputFocus && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "", | |
"command": "-latex-workshop.surround", | |
"when": "editorHasSelection && editorTextFocus && !editorReadonly && editorLangId =~ /latex|rsweave/" | |
}, | |
{ | |
"key": "enter", | |
"command": "latex-workshop.onEnterKey", | |
"when": "editorTextFocus && vim.active && !editorReadonly && !suggestWidgetVisible && editorLangId == 'latex' && vim.mode == 'Insert'" | |
}, | |
{ | |
"key": "enter", | |
"command": "latex-workshop.onEnterKey", | |
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && !vim.active && editorLangId == 'latex'" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "latex-workshop.onAltEnterKey", | |
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'latex'" | |
}, | |
{ | |
"key": "", | |
"command": "-interactive.execute", | |
"when": "resourceScheme == 'vscode-interactive'" | |
}, | |
//********************************** Remove cmd+k chords ******************************* | |
{ | |
"key": "", | |
"command": "-editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.defineKeybinding", | |
"when": "editorTextFocus && !editorReadonly && editorLangId == 'jsonc'" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.formatSelection", | |
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.moveSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.removeCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.revealDefinitionAside", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.selectFromAnchorToCursor", | |
"when": "editorTextFocus && selectionAnchorSet" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.setSelectionAnchor", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.action.trimTrailingWhitespace", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.createFoldingRangeFromSelection", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.debug.action.showDebugHover", | |
"when": "editorTextFocus && inDebugMode" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldAllBlockComments", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldAllExcept", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldAllMarkerRegions", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel1", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel2", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel3", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel4", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel5", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel6", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldLevel7", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.foldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.removeManualFoldingRanges", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.toggleFold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.unfoldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.unfoldAllExcept", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.unfoldAllMarkerRegions", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-editor.unfoldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "", | |
"command": "-copyFilePath", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-copyRelativeFilePath", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-keybindings.editor.addKeybinding", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-keybindings.editor.defineWhenExpression", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.collapseCellInput", | |
"when": "notebookCellListFocused && !inputFocus && !notebookCellInputIsCollapsed" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.collapseCellOutput", | |
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus && !notebookCellOutputIsCollapsed" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.expandCellInput", | |
"when": "notebookCellInputIsCollapsed && notebookCellListFocused" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.expandCellOutput", | |
"when": "notebookCellListFocused && notebookCellOutputIsCollapsed" | |
}, | |
{ | |
"key": "", | |
"command": "-notebook.cell.split", | |
"when": "notebookCellEditable && notebookEditable && notebookEditorFocused" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeAllEditors" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeAllGroups" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeFolder", | |
"when": "emptyWorkspaceSupport && workbenchState != 'empty'" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.closeUnmodifiedEditors" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.editor.changeLanguageMode", | |
"when": "!notebookEditorFocused" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.copyPathOfActiveFile" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.revealActiveFileInWindows" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.saveWithoutFormatting" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.files.showOpenedFileInNewWindow", | |
"when": "emptyWorkspaceSupport" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.joinEditorInGroup", | |
"when": "sideBySideEditorActive" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.keepEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.keybindingsReference" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveActiveEditorGroupDown" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveActiveEditorGroupLeft" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveActiveEditorGroupRight" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveActiveEditorGroupUp" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveEditorLeftInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.moveEditorRightInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.nextEditorInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.openGlobalKeybindings" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.pinEditor", | |
"when": "!activeEditorIsPinned" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.previousEditorInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.selectTheme" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.showTreeHover", | |
"when": "customTreeView && listFocus && !inputFocus" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.splitEditorInGroup", | |
"when": "activeEditorCanSplitInGroup" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.splitEditorOrthogonal" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.toggleZenMode" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.unpinEditor", | |
"when": "activeEditorIsPinned" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.files.action.compareWithClipboard" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.files.action.compareWithSaved" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.files.action.focusOpenEditorsView", | |
"when": "workbench.explorer.openEditorsView.active" | |
}, | |
{ | |
"key": "", | |
"command": "-views.moveViewDown", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "", | |
"command": "-views.moveViewLeft", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "", | |
"command": "-views.moveViewRight", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "", | |
"command": "-views.moveViewUp", | |
"when": "focusedView != ''" | |
}, | |
{ | |
"key": "", | |
"command": "-git.stageSelectedRanges", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-git.unstageSelectedRanges", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-markdown.showPreviewToSide", | |
"when": "!notebookEditorFocused && editorLangId == 'markdown'" | |
}, | |
{ | |
"key": "", | |
"command": "-git.revertSelectedRanges", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "", | |
"command": "-restructuredtext.showPreviewToSide", | |
"when": "editorLangId == 'restructuredtext'" | |
}, | |
{ | |
"key": "", | |
"command": "-restructuredtext.features.underline.underline", | |
"when": "editorLangId == 'restructuredtext'" | |
}, | |
{ | |
"key": "", | |
"command": "-restructuredtext.features.underline.underlineReverse", | |
"when": "editorLangId == 'restructuredtext'" | |
}, | |
{ | |
"key": "", | |
"command": "-markdown.extension.closePreview", | |
"when": "markdownPreviewFocus" | |
}, | |
{ | |
"key": "shift+f5", | |
"command": "-cmake.launchTarget", | |
"when": "cmake:enableFullFeatureSet && !cmake:hideDebugCommand && !inDebugMode" | |
}, | |
{ | |
"key": "shift+alt+f12", | |
"command": "-references-view.findReferences", | |
"when": "editorHasReferenceProvider" | |
}, | |
// ************* todo *todo | |
{ | |
"key": "ctrl+t", | |
"command": "-editor.action.transposeLetters", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+t", | |
"command": "workbench.view.extension.todo-tree-container" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "-workbench.action.files.openFile", | |
"when": "false" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "-workbench.action.files.openFileFolder", | |
"when": "isMacNative && openFolderWorkspaceSupport" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "-workbench.action.files.openFolderViaWorkspace", | |
"when": "!openFolderWorkspaceSupport && workbenchState == 'workspace'" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "-workbench.action.files.openLocalFileFolder", | |
"when": "remoteFileDialogVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-editor.changeDropType", | |
"when": "dropWidgetVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-editor.changePasteType", | |
"when": "pasteWidgetVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-problems.action.showQuickFixes", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-workbench.action.terminal.showQuickFixes", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-acceptSelectedCodeAction", | |
"when": "codeActionMenuVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "workbench.action.showAllEditors" | |
}, | |
{ | |
"key": "", | |
"command": "-workbench.action.experimental.quickTextSearch" | |
}, | |
{ | |
"key": "shift+cmd+b", | |
"command": "workbench.action.tasks.runTask" | |
}, | |
{ | |
"key": "ctrl+cmd+f", | |
"command": "-workbench.action.toggleFullScreen", | |
"when": "!isIOS" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment