Last active
August 28, 2024 17:44
-
-
Save backpackerhh/a1af146ed88335ac5b7b16e21b1c4d8a to your computer and use it in GitHub Desktop.
Keybindings for VSCode in macOS
This file contains 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
[ | |
// Custom | |
{ | |
"key": "shift+alt+up", | |
"command": "editor.action.insertCursorAbove", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+1", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
}, | |
{ | |
"key": "ctrl+shift+2", | |
"command": "workbench.action.toggleStatusbarVisibility" | |
}, | |
{ | |
"key": "meta+[IntlBackslash]", | |
"command": "workbench.action.focusSideBar" | |
}, | |
{ "key": "meta+1", "command": "workbench.action.focusFirstEditorGroup" }, | |
{ "key": "meta+2", "command": "workbench.action.focusSecondEditorGroup" }, | |
{ "key": "meta+3", "command": "workbench.action.focusThirdEditorGroup" }, | |
{ "key": "ctrl+1", "command": "workbench.action.openEditorAtIndex1" }, | |
{ "key": "ctrl+2", "command": "workbench.action.openEditorAtIndex2" }, | |
{ "key": "ctrl+3", "command": "workbench.action.openEditorAtIndex3" }, | |
{ "key": "ctrl+4", "command": "workbench.action.openEditorAtIndex4" }, | |
{ "key": "ctrl+5", "command": "workbench.action.openEditorAtIndex5" }, | |
{ "key": "ctrl+6", "command": "workbench.action.openEditorAtIndex6" }, | |
{ "key": "ctrl+7", "command": "workbench.action.openEditorAtIndex7" }, | |
{ "key": "ctrl+8", "command": "workbench.action.openEditorAtIndex8" }, | |
{ "key": "ctrl+9", "command": "workbench.action.openEditorAtIndex9" }, | |
{ | |
"key": "ctrl+shift+c", | |
"command": "workbench.view.extension.dockerView" | |
}, | |
{ | |
"key": "meta+n", | |
"command": "explorer.newFile", | |
"when": "explorerViewletFocus" | |
}, | |
{ | |
"key": "ctrl+shift+k u", | |
"command": "editor.action.transformToUppercase", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+k l", | |
"command": "editor.action.transformToLowercase", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "meta+shift+k", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "meta+right", | |
"command": "cursorLineEnd", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "meta+left", | |
"command": "cursorLineStart", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "workbench.action.terminal.focusNextPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "workbench.action.terminal.focusPreviousPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.terminal.clear", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ "key": "ctrl+g", "command": "workbench.action.gotoLine" }, | |
{ | |
"key": "meta+e c", | |
"command": "editor.action.codeAction", | |
"args": { | |
"kind": "refactor.extract.constant" | |
} | |
}, | |
{ | |
"key": "meta+e i", | |
"command": "editor.action.codeAction", | |
"args": { | |
"kind": "refactor.extract.interface" | |
} | |
}, | |
{ | |
"key": "meta+e m", | |
"command": "editor.action.codeAction", | |
"args": { | |
"kind": "refactor.extract.function" | |
} | |
}, | |
// Custom Negative | |
{ | |
"key": "ctrl+shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+down", | |
"command": "-editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "ctrl+k w", "command": "-workbench.action.closeEditorsInGroup" }, | |
{ "key": "ctrl+0", "command": "-workbench.action.focusSideBar" }, | |
{ "key": "ctrl+1", "command": "-workbench.action.focusFirstEditorGroup" }, | |
{ "key": "ctrl+2", "command": "-workbench.action.focusSecondEditorGroup" }, | |
{ "key": "ctrl+3", "command": "-workbench.action.focusThirdEditorGroup" }, | |
{ "key": "ctrl+4", "command": "-workbench.action.focusFourthEditorGroup" }, | |
{ "key": "ctrl+5", "command": "-workbench.action.focusFifthEditorGroup" }, | |
{ "key": "ctrl+6", "command": "-workbench.action.focusSixthEditorGroup" }, | |
{ "key": "ctrl+7", "command": "-workbench.action.focusSeventhEditorGroup" }, | |
{ "key": "ctrl+8", "command": "-workbench.action.focusEighthEditorGroup" }, | |
{ "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": "ctrl+shift+c", | |
"command": "-workbench.action.terminal.openNativeConsole", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-workbench.action.terminal.focusNext", | |
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-workbench.action.terminal.focusNextPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "-workbench.action.terminal.focusNextPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-workbench.action.terminal.focusPreviousPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "-workbench.action.terminal.focusPreviousPane", | |
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" | |
}, | |
// Default Keybindings of Visual Studio Code 1.92.0 for macOS (Negative) | |
{ | |
"key": "escape escape", | |
"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": "escape", | |
"command": "-editor.closeTestPeek", | |
"when": "testing.isInPeek && !config.editor.stablePeek || testing.isPeekVisible && !config.editor.stablePeek" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "-cancelSelection", | |
"when": "editorHasSelection && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "-cancelSelection", | |
"when": "editorHasSelection && textInputFocus" | |
}, | |
{ "key": "cmd+down", "command": "-cursorBottom", "when": "textInputFocus" }, | |
{ | |
"key": "shift+cmd+down", | |
"command": "-cursorBottomSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+cmd+down", | |
"command": "-cursorColumnSelectDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+cmd+left", | |
"command": "-cursorColumnSelectLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+cmd+pagedown", | |
"command": "-cursorColumnSelectPageDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+cmd+pageup", | |
"command": "-cursorColumnSelectPageUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+cmd+right", | |
"command": "-cursorColumnSelectRight", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+cmd+up", | |
"command": "-cursorColumnSelectUp", | |
"when": "textInputFocus" | |
}, | |
{ "key": "ctrl+n", "command": "-cursorDown", "when": "textInputFocus" }, | |
{ "key": "down", "command": "-cursorDown", "when": "textInputFocus" }, | |
{ | |
"key": "shift+down", | |
"command": "-cursorDownSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+right", | |
"command": "-cursorEnd", | |
"when": "textInputFocus", | |
"args": { "sticky": false } | |
}, | |
{ | |
"key": "end", | |
"command": "-cursorEnd", | |
"when": "textInputFocus", | |
"args": { "sticky": false } | |
}, | |
{ | |
"key": "shift+cmd+right", | |
"command": "-cursorEndSelect", | |
"when": "textInputFocus", | |
"args": { "sticky": false } | |
}, | |
{ | |
"key": "shift+end", | |
"command": "-cursorEndSelect", | |
"when": "textInputFocus", | |
"args": { "sticky": false } | |
}, | |
{ "key": "cmd+left", "command": "-cursorHome", "when": "textInputFocus" }, | |
{ "key": "home", "command": "-cursorHome", "when": "textInputFocus" }, | |
{ | |
"key": "shift+cmd+left", | |
"command": "-cursorHomeSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+home", | |
"command": "-cursorHomeSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "ctrl+b", "command": "-cursorLeft", "when": "textInputFocus" }, | |
{ "key": "left", "command": "-cursorLeft", "when": "textInputFocus" }, | |
{ | |
"key": "shift+left", | |
"command": "-cursorLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "ctrl+e", "command": "-cursorLineEnd", "when": "textInputFocus" }, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-cursorLineEndSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "ctrl+a", "command": "-cursorLineStart", "when": "textInputFocus" }, | |
{ | |
"key": "ctrl+shift+a", | |
"command": "-cursorLineStartSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "pagedown", "command": "-cursorPageDown", "when": "textInputFocus" }, | |
{ | |
"key": "shift+pagedown", | |
"command": "-cursorPageDownSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "pageup", "command": "-cursorPageUp", "when": "textInputFocus" }, | |
{ | |
"key": "shift+pageup", | |
"command": "-cursorPageUpSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "ctrl+f", "command": "-cursorRight", "when": "textInputFocus" }, | |
{ "key": "right", "command": "-cursorRight", "when": "textInputFocus" }, | |
{ | |
"key": "shift+right", | |
"command": "-cursorRightSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "cmd+up", "command": "-cursorTop", "when": "textInputFocus" }, | |
{ | |
"key": "shift+cmd+up", | |
"command": "-cursorTopSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "ctrl+p", "command": "-cursorUp", "when": "textInputFocus" }, | |
{ "key": "up", "command": "-cursorUp", "when": "textInputFocus" }, | |
{ "key": "shift+up", "command": "-cursorUpSelect", "when": "textInputFocus" }, | |
{ | |
"key": "ctrl+backspace", | |
"command": "-deleteLeft", | |
"when": "textInputFocus" | |
}, | |
{ "key": "ctrl+h", "command": "-deleteLeft", "when": "textInputFocus" }, | |
{ | |
"key": "shift+backspace", | |
"command": "-deleteLeft", | |
"when": "textInputFocus" | |
}, | |
{ "key": "backspace", "command": "-deleteLeft", "when": "textInputFocus" }, | |
{ "key": "ctrl+delete", "command": "-deleteRight", "when": "textInputFocus" }, | |
{ "key": "ctrl+d", "command": "-deleteRight", "when": "textInputFocus" }, | |
{ "key": "delete", "command": "-deleteRight", "when": "textInputFocus" }, | |
{ "key": "cmd+a", "command": "-editor.action.selectAll" }, | |
{ "key": "cmd+c", "command": "-execCopy" }, | |
{ "key": "cmd+x", "command": "-execCut" }, | |
{ "key": "cmd+v", "command": "-execPaste" }, | |
{ | |
"key": "cmd+l", | |
"command": "-expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-inlineChat.arrowOutDown", | |
"when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorLast && !accessibilityModeEnabled && !isEmbeddedDiffEditor" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-inlineChat.arrowOutUp", | |
"when": "inlineChatFocused && inlineChatHasProvider && inlineChatInnerCursorFirst && !accessibilityModeEnabled && !isEmbeddedDiffEditor" | |
}, | |
{ | |
"key": "ctrl+o", | |
"command": "-lineBreakInsert", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "-outdent", | |
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ "key": "shift+cmd+z", "command": "-redo" }, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-scrollLineDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-scrollLineUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+pagedown", | |
"command": "-scrollPageDown", | |
"when": "textInputFocus" | |
}, | |
{ "key": "cmd+pageup", "command": "-scrollPageUp", "when": "textInputFocus" }, | |
{ | |
"key": "tab", | |
"command": "-tab", | |
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ "key": "cmd+z", "command": "-undo" }, | |
{ | |
"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": "cmd+down", | |
"command": "-notebook.cell.chat.arrowOutDown", | |
"when": "inlineChatFocused && inlineChatInnerCursorLast && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-notebook.cell.chat.arrowOutUp", | |
"when": "inlineChatFocused && inlineChatInnerCursorFirst && notebookCellChatFocused && !accessibilityModeEnabled && !notebookCellEditorFocused" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-notebook.cell.focusChatWidget", | |
"when": "editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-notebook.cell.focusNextChatWidget", | |
"when": "editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-inlineChat.focus", | |
"when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'above'" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-inlineChat.focus", | |
"when": "editorTextFocus && inlineChatVisible && !accessibilityModeEnabled && !inlineChatFocused && !isEmbeddedDiffEditor && inlineChatOuterCursorPosition == 'below'" | |
}, | |
{ | |
"key": "escape", | |
"command": "-notebook.cell.chat.acceptChanges", | |
"when": "inlineChatFocused && notebookCellChatFocused && notebookChatUserDidEdit && !notebookCellEditorFocused" | |
}, | |
{ | |
"key": "down", | |
"command": "-notebook.cell.chat.nextFromHistory", | |
"when": "inlineChatFocused && notebookCellChatFocused" | |
}, | |
{ | |
"key": "up", | |
"command": "-notebook.cell.chat.previousFromHistory", | |
"when": "inlineChatFocused && notebookCellChatFocused" | |
}, | |
{ | |
"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": "cmd+enter", | |
"command": "-refactorPreview.apply", | |
"when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-testing.editFocusedTest", | |
"when": "focusedView == 'workbench.view.testing'" | |
}, | |
{ | |
"key": "escape", | |
"command": "-notebook.cell.quitEdit", | |
"when": "inputFocus && notebookEditorFocused && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible && !inlineChatFocused" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-notebook.cell.quitEdit", | |
"when": "inputFocus && notebookEditorFocused && !inlineChatFocused && notebookCellType == 'markup'" | |
}, | |
{ | |
"key": "escape", | |
"command": "-inlineChat.discard", | |
"when": "inlineChatHasProvider && inlineChatVisible && !inlineChatUserDidEdit" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "-actions.find", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ "key": "cmd+e", "command": "-actions.findWithSelection" }, | |
{ | |
"key": "enter", | |
"command": "-breakpointWidget.action.acceptInput", | |
"when": "breakpointWidgetVisible && inBreakpointWidget" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-chat.action.focus", | |
"when": "chatCursorAtTop && inChatInput && chatLocation == 'panel'" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-chat.action.focus", | |
"when": "inChatInput && isLinux && chatLocation == 'panel' || inChatInput && isWindows && chatLocation == 'panel'" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "-closeBreakpointWidget", | |
"when": "breakpointWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "-closeBreakpointWidget", | |
"when": "breakpointWidgetVisible && textInputFocus" | |
}, | |
{ "key": "cmd+u", "command": "-cursorUndo", "when": "textInputFocus" }, | |
{ | |
"key": "alt+right", | |
"command": "-cursorWordEndRight", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+right", | |
"command": "-cursorWordEndRightSelect", | |
"when": "textInputFocus" | |
}, | |
{ "key": "alt+left", "command": "-cursorWordLeft", "when": "textInputFocus" }, | |
{ | |
"key": "shift+alt+left", | |
"command": "-cursorWordLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+alt+left", | |
"command": "-cursorWordPartLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+left", | |
"command": "-cursorWordPartLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "-cursorWordPartRight", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+right", | |
"command": "-cursorWordPartRightSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "-deleteAllLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+delete", | |
"command": "-deleteAllRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "-deleteAllRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+backspace", | |
"command": "-deleteWordLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+backspace", | |
"command": "-deleteWordPartLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+delete", | |
"command": "-deleteWordPartRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+delete", | |
"command": "-deleteWordRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f7", | |
"command": "-editor.action.accessibleDiffViewer.next", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "shift+f7", | |
"command": "-editor.action.accessibleDiffViewer.prev", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "cmd+k cmd+c", | |
"command": "-editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+.", | |
"command": "-editor.action.autoFix", | |
"when": "textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/" | |
}, | |
{ | |
"key": "shift+alt+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 && !editorReadonly" | |
}, | |
{ "key": "cmd+c", "command": "-editor.action.clipboardCopyAction" }, | |
{ "key": "cmd+x", "command": "-editor.action.clipboardCutAction" }, | |
{ "key": "cmd+v", "command": "-editor.action.clipboardPasteAction" }, | |
{ | |
"key": "cmd+/", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+f3", | |
"command": "-editor.action.dirtydiff.next", | |
"when": "editorTextFocus && !textCompareEditorActive" | |
}, | |
{ | |
"key": "shift+alt+f3", | |
"command": "-editor.action.dirtydiff.previous", | |
"when": "editorTextFocus && !textCompareEditorActive" | |
}, | |
{ | |
"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": "shift+alt+f", | |
"command": "-editor.action.formatDocument", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+k cmd+f", | |
"command": "-editor.action.formatSelection", | |
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-editor.action.goToBottomHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "end", | |
"command": "-editor.action.goToBottomHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "enter", | |
"command": "-editor.action.goToFocusedStickyScrollLine", | |
"when": "stickyScrollFocused" | |
}, | |
{ | |
"key": "cmd+f12", | |
"command": "-editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "-editor.action.goToReferences", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-editor.action.goToTopHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "home", | |
"command": "-editor.action.goToTopHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.action.hideColorPicker", | |
"when": "standaloneColorPickerVisible" | |
}, | |
{ | |
"key": "shift+cmd+.", | |
"command": "-editor.action.inPlaceReplace.down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+,", | |
"command": "-editor.action.inPlaceReplace.up", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "-editor.action.indentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.action.inlineEdit.reject", | |
"when": "inlineEditVisible && !editorReadonly" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.action.inlineEdits.hide", | |
"when": "inlineEditsVisible" | |
}, | |
{ | |
"key": "alt+]", | |
"command": "-editor.action.inlineEdits.showNext", | |
"when": "inlineEditsVisible && !editorReadonly" | |
}, | |
{ | |
"key": "alt+[", | |
"command": "-editor.action.inlineEdits.showPrevious", | |
"when": "inlineEditsVisible && !editorReadonly" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.action.inlineSuggest.hide", | |
"when": "inlineSuggestionVisible" | |
}, | |
{ | |
"key": "alt+]", | |
"command": "-editor.action.inlineSuggest.showNext", | |
"when": "inlineSuggestionVisible && !editorReadonly" | |
}, | |
{ | |
"key": "alt+[", | |
"command": "-editor.action.inlineSuggest.showPrevious", | |
"when": "inlineSuggestionVisible && !editorReadonly" | |
}, | |
{ | |
"key": "enter", | |
"command": "-editor.action.insertColorWithStandaloneColorPicker", | |
"when": "standaloneColorPickerFocused" | |
}, | |
{ | |
"key": "alt+cmd+up", | |
"command": "-editor.action.insertCursorAbove", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+i", | |
"command": "-editor.action.insertCursorAtEndOfEachLineSelected", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+cmd+down", | |
"command": "-editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-editor.action.insertLineAfter", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+enter", | |
"command": "-editor.action.insertLineBefore", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "-editor.action.joinLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+\\", | |
"command": "-editor.action.jumpToBracket", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+f2", | |
"command": "-editor.action.linkedEditing", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+f8", | |
"command": "-editor.action.marker.next", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "f8", | |
"command": "-editor.action.marker.nextInFiles", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+alt+f8", | |
"command": "-editor.action.marker.prev", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+f8", | |
"command": "-editor.action.marker.prevInFiles", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+k cmd+d", | |
"command": "-editor.action.moveSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ "key": "alt+f9", "command": "-editor.action.nextCommentThreadAction" }, | |
{ | |
"key": "cmd+k alt+cmd+down", | |
"command": "-editor.action.nextCommentingRange", | |
"when": "accessibilityModeEnabled && commentFocused || accessibilityModeEnabled && editorFocus || accessibilityHelpIsShown && accessibilityModeEnabled && accessibleViewCurrentProviderId == 'comments'" | |
}, | |
{ | |
"key": "f3", | |
"command": "-editor.action.nextMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+g", | |
"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": "shift+alt+o", | |
"command": "-editor.action.organizeImports", | |
"when": "textInputFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "-editor.action.outdentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-editor.action.pageDownHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "-editor.action.pageDownHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-editor.action.pageUpHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "pageup", | |
"command": "-editor.action.pageUpHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "alt+f12", | |
"command": "-editor.action.peekDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+cmd+f12", | |
"command": "-editor.action.peekImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+alt+f9", | |
"command": "-editor.action.previousCommentThreadAction" | |
}, | |
{ | |
"key": "cmd+k alt+cmd+up", | |
"command": "-editor.action.previousCommentingRange", | |
"when": "accessibilityModeEnabled && commentFocused || accessibilityModeEnabled && editorFocus || accessibilityHelpIsShown && accessibilityModeEnabled && accessibleViewCurrentProviderId == 'comments'" | |
}, | |
{ | |
"key": "shift+f3", | |
"command": "-editor.action.previousMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+g", | |
"command": "-editor.action.previousMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.action.previousMatchFindAction", | |
"when": "editorFocus && findInputFocussed" | |
}, | |
{ | |
"key": "shift+cmd+f3", | |
"command": "-editor.action.previousSelectionMatchFindAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "-editor.action.refactor", | |
"when": "editorHasCodeActionsProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+cmd+backspace", | |
"command": "-editor.action.removeBrackets", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+u", | |
"command": "-editor.action.removeCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f2", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus" | |
}, | |
{ | |
"key": "cmd+f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && isWeb" | |
}, | |
{ | |
"key": "cmd+k f12", | |
"command": "-editor.action.revealDefinitionAside", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+k cmd+f12", | |
"command": "-editor.action.revealDefinitionAside", | |
"when": "editorHasDefinitionProvider && editorTextFocus && isWeb && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "down", | |
"command": "-editor.action.scrollDownHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "left", | |
"command": "-editor.action.scrollLeftHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "right", | |
"command": "-editor.action.scrollRightHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "up", | |
"command": "-editor.action.scrollUpHover", | |
"when": "editorHoverFocused" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.action.selectEditor", | |
"when": "stickyScrollFocused" | |
}, | |
{ | |
"key": "cmd+k cmd+k", | |
"command": "-editor.action.selectFromAnchorToCursor", | |
"when": "editorTextFocus && selectionAnchorSet" | |
}, | |
{ | |
"key": "shift+cmd+l", | |
"command": "-editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "down", | |
"command": "-editor.action.selectNextStickyScrollLine", | |
"when": "stickyScrollFocused" | |
}, | |
{ | |
"key": "up", | |
"command": "-editor.action.selectPreviousStickyScrollLine", | |
"when": "stickyScrollFocused" | |
}, | |
{ | |
"key": "cmd+k cmd+b", | |
"command": "-editor.action.setSelectionAnchor", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+f10", | |
"command": "-editor.action.showContextMenu", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+i", | |
"command": "-editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "-editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+right", | |
"command": "-editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+left", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+cmd+f", | |
"command": "-editor.action.startFindReplaceAction", | |
"when": "editorFocus || editorIsOpen" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-editor.action.submitComment", | |
"when": "commentEditorFocused" | |
}, | |
{ "key": "ctrl+shift+m", "command": "-editor.action.toggleTabFocusMode" }, | |
{ "key": "alt+z", "command": "-editor.action.toggleWordWrap" }, | |
{ | |
"key": "ctrl+t", | |
"command": "-editor.action.transposeLetters", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+space", | |
"command": "-editor.action.triggerParameterHints", | |
"when": "editorHasSignatureHelpProvider && editorTextFocus" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "alt+escape", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k cmd+x", | |
"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+f", | |
"command": "-editor.action.webvieweditor.showFind", | |
"when": "webviewFindWidgetEnabled && !editorFocus && activeEditor == 'WebviewEditor'" | |
}, | |
{ | |
"key": "f7", | |
"command": "-editor.action.wordHighlight.next", | |
"when": "editorTextFocus && hasWordHighlights" | |
}, | |
{ | |
"key": "shift+f7", | |
"command": "-editor.action.wordHighlight.prev", | |
"when": "editorTextFocus && hasWordHighlights" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.cancelOperation", | |
"when": "cancellableOperation" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-editor.changeDropType", | |
"when": "dropWidgetVisible" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-editor.changePasteType", | |
"when": "pasteWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k cmd+,", | |
"command": "-editor.createFoldingRangeFromSelection", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.debug.action.closeExceptionWidget", | |
"when": "exceptionWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k cmd+i", | |
"command": "-editor.debug.action.showDebugHover", | |
"when": "editorTextFocus && inDebugMode" | |
}, | |
{ | |
"key": "f9", | |
"command": "-editor.debug.action.toggleBreakpoint", | |
"when": "debuggersAvailable && disassemblyViewFocus || debuggersAvailable && editorTextFocus" | |
}, | |
{ | |
"key": "tab", | |
"command": "-editor.emmet.action.expandAbbreviation", | |
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "alt+cmd+[", | |
"command": "-editor.fold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+0", | |
"command": "-editor.foldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+/", | |
"command": "-editor.foldAllBlockComments", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+-", | |
"command": "-editor.foldAllExcept", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+8", | |
"command": "-editor.foldAllMarkerRegions", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+1", | |
"command": "-editor.foldLevel1", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+2", | |
"command": "-editor.foldLevel2", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+3", | |
"command": "-editor.foldLevel3", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+4", | |
"command": "-editor.foldLevel4", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+5", | |
"command": "-editor.foldLevel5", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+6", | |
"command": "-editor.foldLevel6", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+7", | |
"command": "-editor.foldLevel7", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+[", | |
"command": "-editor.foldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.gotoNextSymbolFromResult", | |
"when": "hasSymbols" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.gotoNextSymbolFromResult.cancel", | |
"when": "hasSymbols" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.hideDropWidget", | |
"when": "dropWidgetVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "-editor.hidePasteWidget", | |
"when": "pasteWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k cmd+.", | |
"command": "-editor.removeManualFoldingRanges", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+l", | |
"command": "-editor.toggleFold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k shift+cmd+l", | |
"command": "-editor.toggleFoldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "alt+cmd+]", | |
"command": "-editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+j", | |
"command": "-editor.unfoldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+=", | |
"command": "-editor.unfoldAllExcept", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+9", | |
"command": "-editor.unfoldAllMarkerRegions", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "cmd+k cmd+]", | |
"command": "-editor.unfoldRecursively", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "escape", | |
"command": "-inlayHints.stopReadingLineWithHint", | |
"when": "isReadingLineWithInlayHints" | |
}, | |
{ | |
"key": "tab", | |
"command": "-insertSnippet", | |
"when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-interactive.execute", | |
"when": "activeEditor == 'workbench.editor.interactive'" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-interactive.execute", | |
"when": "config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" | |
}, | |
{ | |
"key": "enter", | |
"command": "-interactive.execute", | |
"when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive'" | |
}, | |
{ | |
"key": "escape", | |
"command": "-notebook.cell.chat.discard", | |
"when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused && !notebookChatUserDidEdit" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "-notebook.cell.cursorPageDown", | |
"when": "editorTextFocus && inputFocus && notebookEditorFocused" | |
}, | |
{ | |
"key": "shift+pagedown", | |
"command": "-notebook.cell.cursorPageDownSelect", | |
"when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" | |
}, | |
{ | |
"key": "pageup", | |
"command": "-notebook.cell.cursorPageUp", | |
"when": "editorTextFocus && inputFocus && notebookEditorFocused" | |
}, | |
{ | |
"key": "shift+pageup", | |
"command": "-notebook.cell.cursorPageUpSelect", | |
"when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputFocused" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-notebook.cell.execute", | |
"when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelCount > 0 || !notebookCellExecuting && notebookCellType == 'code' && notebookCellListFocused || inlineChatFocused && notebookCellChatFocused && notebookKernelSourceCount > 0 || inlineChatFocused && notebookCellChatFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code'" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-notebook.cell.executeAndInsertBelow", | |
"when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-notebook.cell.executeAndSelectBelow", | |
"when": "notebookCellListFocused && !inlineChatFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" | |
}, | |
{ | |
"key": "shift+cmd+v", | |
"command": "-notebook.cell.pasteAbove", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "down", | |
"command": "-notebook.focusNextEditor", | |
"when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'" | |
}, | |
{ | |
"key": "up", | |
"command": "-notebook.focusPreviousEditor", | |
"when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-notebook.formatCell", | |
"when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-openReferenceToSide", | |
"when": "listFocus && referenceSearchVisible && !inputFocus && !treeElementCanCollapse && !treeElementCanExpand && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "enter", | |
"command": "-repl.action.acceptInput", | |
"when": "inDebugRepl && textInputFocus" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "-repl.action.filter", | |
"when": "inDebugRepl && textInputFocus" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "-rerunSearchEditorSearch", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "escape", | |
"command": "-search.action.focusQueryEditorWidget", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "shift+cmd+backspace", | |
"command": "-search.searchEditor.action.deleteFileResults", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "escape", | |
"command": "-settings.action.clearSearchResults", | |
"when": "inSettingsEditor && inSettingsSearch" | |
}, | |
{ | |
"key": "down", | |
"command": "-settings.action.focusSettingsFile", | |
"when": "inSettingsSearch && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "-settings.action.search", | |
"when": "inSettingsEditor" | |
}, | |
{ | |
"key": "cmd+/", | |
"command": "-toggleExplainMode", | |
"when": "suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k f2", | |
"command": "-togglePeekWidgetFocus", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "-welcome.goBack", | |
"when": "inWelcome && activeEditor == 'gettingStartedPage'" | |
}, | |
{ "key": "cmd+k alt+cmd+c", "command": "-workbench.action.addComment" }, | |
{ | |
"key": "cmd+/", | |
"command": "-workbench.action.chat.attachContext", | |
"when": "config.chat.experimental.variables.editor && inChatInput && chatLocation == 'editor' || config.chat.experimental.variables.notebook && inChatInput && chatLocation == 'notebook' || config.chat.experimental.variables.terminal && inChatInput && chatLocation == 'terminal' || inChatInput && !quickChatHasFocus && chatLocation == 'panel'" | |
}, | |
{ | |
"key": "ctrl+alt+enter", | |
"command": "-workbench.action.chat.runInTerminal", | |
"when": "accessibleViewInCodeBlock && chatIsEnabled || chatIsEnabled && inChat" | |
}, | |
{ | |
"key": "enter", | |
"command": "-workbench.action.chat.submit", | |
"when": "chatInputHasText && inChatInput && !chatSessionRequestInProgress" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-workbench.action.chat.submitSecondaryAgent", | |
"when": "chatInputHasText && inChatInput && !chatInputHasAgent && !chatSessionRequestInProgress" | |
}, | |
{ | |
"key": "alt+f5", | |
"command": "-workbench.action.editor.nextChange", | |
"when": "editorTextFocus && !textCompareEditorActive" | |
}, | |
{ | |
"key": "shift+alt+f5", | |
"command": "-workbench.action.editor.previousChange", | |
"when": "editorTextFocus && !textCompareEditorActive" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "-workbench.action.hideComment", | |
"when": "commentEditorFocused" | |
}, | |
{ | |
"key": "escape", | |
"command": "-workbench.action.hideComment", | |
"when": "commentEditorFocused" | |
}, | |
{ | |
"key": "tab", | |
"command": "-editor.action.inlineEdit.accept", | |
"when": "cursorAtInlineEdit && inlineEditVisible && !editorReadonly" | |
}, | |
{ | |
"key": "alt+cmd+=", | |
"command": "-editor.action.inlineEdit.jumpTo", | |
"when": "inlineEditVisible && !cursorAtInlineEdit && !editorReadonly" | |
}, | |
{ | |
"key": "alt+cmd+=", | |
"command": "-editor.action.inlineEdit.trigger", | |
"when": "!editorReadonly && !inlineEditVisible" | |
}, | |
{ | |
"key": "cmd+right", | |
"command": "-editor.action.inlineSuggest.acceptNextWord", | |
"when": "inlineSuggestionVisible && !editorReadonly" | |
}, | |
{ | |
"key": "alt+f8", | |
"command": "-testing.goToNextMessage", | |
"when": "editorFocus && testing.isPeekVisible" | |
}, | |
{ | |
"key": "shift+alt+f8", | |
"command": "-testing.goToPreviousMessage", | |
"when": "editorFocus && testing.isPeekVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "-closeFindWidget", | |
"when": "editorFocus && findWidgetVisible && !isComposing" | |
}, | |
{ | |
"key": "escape", | |
"command": "-closeFindWidget", | |
"when": "editorFocus && findWidgetVisible && !isComposing" | |
}, | |
{ | |
"key": "alt+cmd+enter", | |
"command": "-editor.action.replaceAll", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-editor.action.replaceAll", | |
"when": "editorFocus && findWidgetVisible && replaceInputFocussed" | |
}, | |
{ | |
"key": "shift+cmd+1", | |
"command": "-editor.action.replaceOne", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "enter", | |
"command": "-editor.action.replaceOne", | |
"when": "editorFocus && findWidgetVisible && replaceInputFocussed" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-editor.action.selectAllMatches", | |
"when": "editorFocus && findWidgetVisible" | |
}, | |
{ | |
"key": "alt+cmd+c", | |
"command": "-toggleFindCaseSensitive", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+l", | |
"command": "-toggleFindInSelection", | |
"when": "editorFocus" | |
}, | |
{ "key": "alt+cmd+r", "command": "-toggleFindRegex", "when": "editorFocus" }, | |
{ | |
"key": "alt+cmd+w", | |
"command": "-toggleFindWholeWord", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+p", | |
"command": "-togglePreserveCase", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+=", | |
"command": "-editor.action.inlineEdit.jumpBack", | |
"when": "cursorAtInlineEdit && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-notebook.cell.chat.acceptChanges", | |
"when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" | |
}, | |
{ | |
"key": "tab", | |
"command": "-jumpToNextSnippetPlaceholder", | |
"when": "hasNextTabstop && inSnippetMode && textInputFocus" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "-jumpToPrevSnippetPlaceholder", | |
"when": "hasPrevTabstop && inSnippetMode && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "-leaveEditorMessage", | |
"when": "messageVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "-leaveSnippet", | |
"when": "inSnippetMode && textInputFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "-leaveSnippet", | |
"when": "inSnippetMode && textInputFocus" | |
}, | |
{ | |
"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": "escape", | |
"command": "-notifications.hideToasts", | |
"when": "notificationToastsVisible" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "-closeParameterHints", | |
"when": "editorFocus && parameterHintsVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "-closeParameterHints", | |
"when": "editorFocus && parameterHintsVisible" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-showNextParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-showNextParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "down", | |
"command": "-showNextParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "-showPrevParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-showPrevParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "up", | |
"command": "-showPrevParameterHint", | |
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "-acceptAlternativeSelectedSuggestion", | |
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-acceptAlternativeSelectedSuggestion", | |
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "tab", | |
"command": "-acceptSelectedSuggestion", | |
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "-acceptSelectedSuggestion", | |
"when": "acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-focusSuggestion", | |
"when": "suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-focusSuggestion", | |
"when": "suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"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 && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "-insertPrevSuggestion", | |
"when": "hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" | |
}, | |
{ | |
"key": "cmd+pagedown", | |
"command": "-selectNextPageSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "-selectNextPageSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "down", | |
"command": "-selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "cmd+pageup", | |
"command": "-selectPrevPageSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "pageup", | |
"command": "-selectPrevPageSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "-selectPrevSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-selectPrevSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "up", | |
"command": "-selectPrevSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-toggleSuggestionDetails", | |
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-toggleSuggestionDetails", | |
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "ctrl+alt+space", | |
"command": "-toggleSuggestionFocus", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "-acceptRenameInput", | |
"when": "editorFocus && renameInputVisible && !isComposing" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-acceptRenameInputWithPreview", | |
"when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible && !isComposing" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "-cancelLinkedEditingInput", | |
"when": "LinkedEditingInputVisible && editorTextFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "-cancelLinkedEditingInput", | |
"when": "LinkedEditingInputVisible && editorTextFocus" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "-cancelRenameInput", | |
"when": "editorFocus && renameInputVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "-cancelRenameInput", | |
"when": "editorFocus && renameInputVisible" | |
}, | |
{ | |
"key": "down", | |
"command": "-focusNextRenameSuggestion", | |
"when": "renameInputVisible" | |
}, | |
{ | |
"key": "up", | |
"command": "-focusPreviousRenameSuggestion", | |
"when": "renameInputVisible" | |
}, | |
{ | |
"key": "shift+cmd+l", | |
"command": "-addCursorsAtSearchResults", | |
"when": "fileMatchOrMatchFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "shift+cmd+;", | |
"command": "-breadcrumbs.focus", | |
"when": "breadcrumbsPossible && breadcrumbsVisible" | |
}, | |
{ | |
"key": "shift+cmd+.", | |
"command": "-breadcrumbs.focusAndSelect", | |
"when": "breadcrumbsPossible && breadcrumbsVisible" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "-breadcrumbs.focusNext", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "right", | |
"command": "-breadcrumbs.focusNext", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "alt+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 && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "down", | |
"command": "-breadcrumbs.selectFocused", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "enter", | |
"command": "-breadcrumbs.selectFocused", | |
"when": "breadcrumbsActive && breadcrumbsVisible" | |
}, | |
{ | |
"key": "shift+cmd+.", | |
"command": "-breadcrumbs.toggleToOn", | |
"when": "!config.breadcrumbs.enabled" | |
}, | |
{ | |
"key": "escape", | |
"command": "-closeReplaceInFilesWidget", | |
"when": "replaceInputBoxFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "-commentsClearFilterText", | |
"when": "commentsFilterFocus" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "-commentsFocusFilter", | |
"when": "focusedView == 'workbench.panel.comments'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-commentsFocusViewFromFilter", | |
"when": "commentsFilterFocus" | |
}, | |
{ "key": "alt+cmd+c", "command": "-copyFilePath", "when": "!editorFocus" }, | |
{ | |
"key": "cmd+k alt+cmd+c", | |
"command": "-copyFilePath", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+alt+cmd+c", | |
"command": "-copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "cmd+k shift+alt+cmd+c", | |
"command": "-copyRelativeFilePath", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "-debug.openBreakpointToSide", | |
"when": "breakpointsFocused" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-debug.openBreakpointToSide", | |
"when": "breakpointsFocused" | |
}, | |
{ | |
"key": "cmd+f5", | |
"command": "-debug.openView", | |
"when": "!debuggersAvailable" | |
}, | |
{ "key": "f5", "command": "-debug.openView", "when": "!debuggersAvailable" }, | |
{ | |
"key": "cmd+backspace", | |
"command": "-debug.removeBreakpoint", | |
"when": "breakpointsFocused && !breakpointInputFocused" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "-debug.removeWatchExpression", | |
"when": "watchExpressionsFocused && !expressionSelected" | |
}, | |
{ | |
"key": "alt+-", | |
"command": "-decreaseSearchEditorContextLines", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "alt+f1", | |
"command": "-editor.action.accessibilityHelp", | |
"when": "!accessibilityHelpIsShown" | |
}, | |
{ | |
"key": "alt+a", | |
"command": "-editor.action.accessibilityHelpConfigureAssignedKeybindings", | |
"when": "accessibilityHelpIsShown && accessibleViewHasAssignedKeybindings" | |
}, | |
{ | |
"key": "alt+k", | |
"command": "-editor.action.accessibilityHelpConfigureKeybindings", | |
"when": "accessibilityHelpIsShown && accessibleViewHasUnassignedKeybindings" | |
}, | |
{ | |
"key": "alt+h", | |
"command": "-editor.action.accessibilityHelpOpenHelpLink", | |
"when": "accessibilityHelpIsShown" | |
}, | |
{ "key": "alt+f2", "command": "-editor.action.accessibleView" }, | |
{ | |
"key": "ctrl+/", | |
"command": "-editor.action.accessibleViewAcceptInlineCompletion", | |
"when": "accessibleViewIsShown && accessibleViewCurrentProviderId == 'inlineCompletions'" | |
}, | |
{ | |
"key": "alt+f6", | |
"command": "-editor.action.accessibleViewDisableHint", | |
"when": "accessibilityHelpIsShown && accessibleViewVerbosityEnabled || accessibleViewIsShown && accessibleViewVerbosityEnabled" | |
}, | |
{ | |
"key": "alt+]", | |
"command": "-editor.action.accessibleViewNext", | |
"when": "accessibleViewIsShown && accessibleViewSupportsNavigation" | |
}, | |
{ | |
"key": "alt+cmd+pagedown", | |
"command": "-editor.action.accessibleViewNextCodeBlock", | |
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" | |
}, | |
{ | |
"key": "alt+[", | |
"command": "-editor.action.accessibleViewPrevious", | |
"when": "accessibleViewIsShown && accessibleViewSupportsNavigation" | |
}, | |
{ | |
"key": "alt+cmd+pageup", | |
"command": "-editor.action.accessibleViewPreviousCodeBlock", | |
"when": "accessibleViewContainsCodeBlocks && accessibleViewCurrentProviderId == 'panelChat'" | |
}, | |
{ | |
"key": "cmd+k cmd+k", | |
"command": "-editor.action.defineKeybinding", | |
"when": "resource == 'vscode-userdata:/Users/runner/work/vs-code-default-keybindings/vs-code-default-keybindings/scripts/get_default_keybindings/empty2/User/keybindings.json'" | |
}, | |
{ | |
"key": "tab", | |
"command": "-editor.action.inlineSuggest.commit", | |
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "shift+f9", | |
"command": "-editor.debug.action.toggleInlineBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+d", | |
"command": "-editor.detectLanguage", | |
"when": "editorTextFocus && !notebookEditable" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.refocusCallHierarchy", | |
"when": "callHierarchyVisible" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.refocusTypeHierarchy", | |
"when": "typeHierarchyVisible" | |
}, | |
{ | |
"key": "shift+alt+h", | |
"command": "-editor.showCallHierarchy", | |
"when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor" | |
}, | |
{ | |
"key": "shift+alt+h", | |
"command": "-editor.showIncomingCalls", | |
"when": "callHierarchyVisible && callHierarchyDirection == 'outgoingCalls'" | |
}, | |
{ | |
"key": "shift+alt+h", | |
"command": "-editor.showOutgoingCalls", | |
"when": "callHierarchyVisible && callHierarchyDirection == 'incomingCalls'" | |
}, | |
{ | |
"key": "shift+alt+h", | |
"command": "-editor.showSubtypes", | |
"when": "typeHierarchyVisible && typeHierarchyDirection == 'supertypes'" | |
}, | |
{ | |
"key": "shift+alt+h", | |
"command": "-editor.showSupertypes", | |
"when": "typeHierarchyVisible && typeHierarchyDirection == 'subtypes'" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-explorer.openToSide", | |
"when": "explorerViewletFocus && foldersViewVisible && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-filesExplorer.findInFolder", | |
"when": "explorerResourceIsFolder && filesExplorerFocus && foldersViewVisible && !inputFocus" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-history.showNext", | |
"when": "historyNavigationForwardsEnabled && historyNavigationWidgetFocus && !isComposing && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "down", | |
"command": "-history.showNext", | |
"when": "historyNavigationForwardsEnabled && historyNavigationWidgetFocus && !isComposing && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-history.showPrevious", | |
"when": "historyNavigationBackwardsEnabled && historyNavigationWidgetFocus && !isComposing && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "up", | |
"command": "-history.showPrevious", | |
"when": "historyNavigationBackwardsEnabled && historyNavigationWidgetFocus && !isComposing && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "down", | |
"command": "-iconSelectBox.focusDown", | |
"when": "iconSelectBoxFocus" | |
}, | |
{ | |
"key": "right", | |
"command": "-iconSelectBox.focusNext", | |
"when": "iconSelectBoxFocus && iconSelectBoxInputEmpty || iconSelectBoxFocus && !iconSelectBoxInputFocus" | |
}, | |
{ | |
"key": "left", | |
"command": "-iconSelectBox.focusPrevious", | |
"when": "iconSelectBoxFocus && iconSelectBoxInputEmpty || iconSelectBoxFocus && !iconSelectBoxInputFocus" | |
}, | |
{ | |
"key": "up", | |
"command": "-iconSelectBox.focusUp", | |
"when": "iconSelectBoxFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "-iconSelectBox.selectFocused", | |
"when": "iconSelectBoxFocus" | |
}, | |
{ | |
"key": "alt+=", | |
"command": "-increaseSearchEditorContextLines", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "escape", | |
"command": "-inlineChat.close", | |
"when": "inlineChatHasProvider && inlineChatVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "-inlineChat.discardHunkChange", | |
"when": "inlineChatHasProvider && inlineChatVisible && inlineChatResponseType == 'messagesAndEdits'" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-inlineChat.holdForSpeech", | |
"when": "hasSpeechProvider && inlineChatHasProvider && inlineChatVisible && textInputFocus" | |
}, | |
{ | |
"key": "f7", | |
"command": "-inlineChat.moveToNextHunk", | |
"when": "inlineChatHasProvider && inlineChatVisible" | |
}, | |
{ | |
"key": "shift+f7", | |
"command": "-inlineChat.moveToPreviousHunk", | |
"when": "inlineChatHasProvider && inlineChatVisible" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "-inlineChat.regenerate", | |
"when": "inlineChatHasProvider && inlineChatVisible" | |
}, | |
{ | |
"key": "cmd+k i", | |
"command": "-inlineChat.start", | |
"when": "editorFocus && inlineChatHasProvider && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-inlineChat.start", | |
"when": "editorFocus && inlineChatHasProvider && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+z", | |
"command": "-inlineChat.unstash", | |
"when": "inlineChatHasStashedSession && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-inlineChat.viewInChat", | |
"when": "inlineChatHasProvider && inlineChatVisible" | |
}, | |
{ | |
"key": "down", | |
"command": "-interactive.history.next", | |
"when": "!suggestWidgetVisible && activeEditor == 'workbench.editor.interactive' && interactiveInputCursorAtBoundary != 'none' && interactiveInputCursorAtBoundary != 'top'" | |
}, | |
{ | |
"key": "down", | |
"command": "-interactive.history.next", | |
"when": "!suggestWidgetVisible && activeEditor == 'workbench.editor.repl' && interactiveInputCursorAtBoundary != 'none' && interactiveInputCursorAtBoundary != 'top'" | |
}, | |
{ | |
"key": "up", | |
"command": "-interactive.history.previous", | |
"when": "!suggestWidgetVisible && activeEditor == 'workbench.editor.interactive' && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'" | |
}, | |
{ | |
"key": "up", | |
"command": "-interactive.history.previous", | |
"when": "!suggestWidgetVisible && activeEditor == 'workbench.editor.repl' && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-interactive.scrollToBottom", | |
"when": "activeEditor == 'workbench.editor.interactive'" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-interactive.scrollToTop", | |
"when": "activeEditor == 'workbench.editor.interactive'" | |
}, | |
{ | |
"key": "enter", | |
"command": "-keybindings.editor.acceptWhenExpression", | |
"when": "inKeybindings && whenFocus && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+k cmd+a", | |
"command": "-keybindings.editor.addKeybinding", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "escape", | |
"command": "-keybindings.editor.clearSearchResults", | |
"when": "inKeybindings && inKeybindingsSearch" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-keybindings.editor.copyKeybindingEntry", | |
"when": "inKeybindings && keybindingFocus && !whenFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "-keybindings.editor.defineKeybinding", | |
"when": "inKeybindings && keybindingFocus && !whenFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+e", | |
"command": "-keybindings.editor.defineWhenExpression", | |
"when": "inKeybindings && keybindingFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-keybindings.editor.focusKeybindings", | |
"when": "inKeybindings && inKeybindingsSearch" | |
}, | |
{ | |
"key": "alt+cmd+k", | |
"command": "-keybindings.editor.recordSearchKeys", | |
"when": "inKeybindings && inKeybindingsSearch" | |
}, | |
{ | |
"key": "escape", | |
"command": "-keybindings.editor.rejectWhenExpression", | |
"when": "inKeybindings && whenFocus && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "-keybindings.editor.removeKeybinding", | |
"when": "inKeybindings && keybindingFocus && !inputFocus" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "-keybindings.editor.searchKeybindings", | |
"when": "inKeybindings" | |
}, | |
{ | |
"key": "alt+cmd+p", | |
"command": "-keybindings.editor.toggleSortByPrecedence", | |
"when": "inKeybindings" | |
}, | |
{ | |
"key": "escape", | |
"command": "-list.clear", | |
"when": "listFocus && listHasSelectionOrFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "escape", | |
"command": "-list.closeFind", | |
"when": "listFocus && treeFindOpen" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-list.collapse", | |
"when": "listFocus && treeElementCanCollapse && !inputFocus && !treestickyScrollFocused || listFocus && treeElementHasParent && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "left", | |
"command": "-list.collapse", | |
"when": "listFocus && treeElementCanCollapse && !inputFocus && !treestickyScrollFocused || listFocus && treeElementHasParent && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "shift+cmd+up", | |
"command": "-list.collapseAll", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "cmd+left", | |
"command": "-list.collapseAll", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "right", | |
"command": "-list.expand", | |
"when": "listFocus && treeElementCanExpand && !inputFocus && !treestickyScrollFocused || listFocus && treeElementHasChild && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "shift+down", | |
"command": "-list.expandSelectionDown", | |
"when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "shift+up", | |
"command": "-list.expandSelectionUp", | |
"when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "f3", | |
"command": "-list.find", | |
"when": "listFocus && listSupportsFind" | |
}, | |
{ | |
"key": "alt+cmd+f", | |
"command": "-list.find", | |
"when": "listFocus && listSupportsFind" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "-list.focusAnyDown", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-list.focusAnyDown", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "alt+home", | |
"command": "-list.focusAnyFirst", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "alt+end", | |
"command": "-list.focusAnyLast", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "ctrl+alt+p", | |
"command": "-list.focusAnyUp", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-list.focusAnyUp", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-list.focusDown", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "down", | |
"command": "-list.focusDown", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "home", | |
"command": "-list.focusFirst", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "end", | |
"command": "-list.focusLast", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "-list.focusPageDown", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "pageup", | |
"command": "-list.focusPageUp", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "-list.focusUp", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "up", | |
"command": "-list.focusUp", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-list.scrollDown", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused && listScrollAtBoundary != 'both' && listScrollAtBoundary != 'bottom'" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-list.scrollUp", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused && listScrollAtBoundary != 'both' && listScrollAtBoundary != 'top'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-list.select", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "enter", | |
"command": "-list.select", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "cmd+a", | |
"command": "-list.selectAll", | |
"when": "listFocus && listSupportsMultiselect && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "cmd+k cmd+i", | |
"command": "-list.showHover", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "space", | |
"command": "-list.toggleExpand", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "shift+cmd+enter", | |
"command": "-list.toggleSelection", | |
"when": "listFocus && !inputFocus && !treestickyScrollFocused" | |
}, | |
{ | |
"key": "y", | |
"command": "-notebook.cell.changeToCode", | |
"when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'markup'" | |
}, | |
{ | |
"key": "m", | |
"command": "-notebook.cell.changeToMarkdown", | |
"when": "notebookEditorFocused && !inputFocus && !notebookOutputFocused && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'code'" | |
}, | |
{ | |
"key": "enter", | |
"command": "-notebook.cell.chat.accept", | |
"when": "inlineChatFocused && notebookCellChatFocused && !notebookCellEditorFocused" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-notebook.cell.chat.acceptChanges", | |
"when": "notebookEditorFocused && !inputFocus && !notebookCellEditorFocused && notebookChatOuterFocusPosition == 'below'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-notebook.cell.chat.focus", | |
"when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'above'" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-notebook.cell.chat.focus", | |
"when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == 'below'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-notebook.cell.chat.focusNextCell", | |
"when": "inlineChatFocused && notebookCellChatFocused" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-notebook.cell.chat.focusPreviousCell", | |
"when": "inlineChatFocused && notebookCellChatFocused" | |
}, | |
{ | |
"key": "cmd+k i", | |
"command": "-notebook.cell.chat.start", | |
"when": "config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-notebook.cell.chat.start", | |
"when": "config.notebook.experimental.cellChat && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus || config.notebook.experimental.generate && notebookChatAgentRegistered && notebookEditable && notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "alt+delete", | |
"command": "-notebook.cell.clearOutputs", | |
"when": "notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+c", | |
"command": "-notebook.cell.collapseCellInput", | |
"when": "notebookCellListFocused && !inputFocus && !notebookCellInputIsCollapsed" | |
}, | |
{ | |
"key": "cmd+k t", | |
"command": "-notebook.cell.collapseCellOutput", | |
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus && !notebookCellOutputIsCollapsed" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-notebook.cell.copyDown", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-notebook.cell.copyUp", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "-notebook.cell.delete", | |
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused" | |
}, | |
{ | |
"key": "shift+alt+d", | |
"command": "-notebook.cell.detectLanguage", | |
"when": "notebookCellEditable && notebookEditable" | |
}, | |
{ | |
"key": "enter", | |
"command": "-notebook.cell.edit", | |
"when": "notebookCellListFocused && notebookEditable && !editorHoverFocused && !inputFocus && !notebookOutputInputFocused" | |
}, | |
{ | |
"key": "cmd+k cmd+c", | |
"command": "-notebook.cell.expandCellInput", | |
"when": "notebookCellInputIsCollapsed && notebookCellListFocused" | |
}, | |
{ | |
"key": "cmd+k t", | |
"command": "-notebook.cell.expandCellOutput", | |
"when": "notebookCellListFocused && notebookCellOutputIsCollapsed" | |
}, | |
{ | |
"key": "ctrl+cmd+down", | |
"command": "-notebook.cell.focusInOutput", | |
"when": "notebookCellHasOutputs && notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "-notebook.cell.focusOutOutput", | |
"when": "notebookEditorFocused && notebookOutputFocused" | |
}, | |
{ | |
"key": "shift+cmd+enter", | |
"command": "-notebook.cell.insertCodeCellAbove", | |
"when": "notebookCellListFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "-notebook.cell.insertCodeCellBelow", | |
"when": "notebookCellListFocused && !inputFocus && notebookChatOuterFocusPosition == ''" | |
}, | |
{ | |
"key": "ctrl+shift+alt+j", | |
"command": "-notebook.cell.joinAbove", | |
"when": "notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+alt+j", | |
"command": "-notebook.cell.joinBelow", | |
"when": "notebookEditorFocused" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-notebook.cell.moveDown", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-notebook.cell.moveUp", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-notebook.cell.openFailureActions", | |
"when": "notebookCellFocused && notebookCellHasErrorDiagnostics && !notebookCellEditorFocused" | |
}, | |
{ | |
"key": "cmd+k shift+cmd+\\", | |
"command": "-notebook.cell.split", | |
"when": "editorTextFocus && notebookCellEditable && notebookEditable && notebookEditorFocused" | |
}, | |
{ | |
"key": "cmd+k y", | |
"command": "-notebook.cell.toggleOutputScrolling", | |
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "-notebook.centerActiveCell", | |
"when": "notebookEditorFocused" | |
}, | |
{ | |
"key": "cmd+/", | |
"command": "-notebook.commentSelectedCells", | |
"when": "notebookEditable && notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "alt+f3", | |
"command": "-notebook.diff.action.next", | |
"when": "activeEditor == 'workbench.editor.notebookTextDiffEditor'" | |
}, | |
{ | |
"key": "shift+alt+f3", | |
"command": "-notebook.diff.action.previous", | |
"when": "activeEditor == 'workbench.editor.notebookTextDiffEditor'" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "-notebook.find", | |
"when": "notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.interactive' || notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "cmd+end", | |
"command": "-notebook.focusBottom", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-notebook.focusBottom", | |
"when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == ''" | |
}, | |
{ | |
"key": "down", | |
"command": "-notebook.focusNextEditor", | |
"when": "config.notebook.navigation.allowNavigateToSurroundingCells && notebookCursorNavigationMode && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && !notebookCellMarkdownEditMode && notebookCellType == 'markup'" | |
}, | |
{ | |
"key": "ctrl+cmd+down", | |
"command": "-notebook.focusNextEditor", | |
"when": "notebookEditorFocused && notebookOutputFocused" | |
}, | |
{ | |
"key": "up", | |
"command": "-notebook.focusPreviousEditor", | |
"when": "config.notebook.navigation.allowNavigateToSurroundingCells && notebookCursorNavigationMode && notebookEditorFocused && !accessibilityModeEnabled && !isEmbeddedDiffEditor && !notebookCellMarkdownEditMode && notebookCellType == 'markup'" | |
}, | |
{ | |
"key": "cmd+home", | |
"command": "-notebook.focusTop", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+up", | |
"command": "-notebook.focusTop", | |
"when": "notebookEditorFocused && !inputFocus && notebookChatOuterFocusPosition == ''" | |
}, | |
{ | |
"key": "left", | |
"command": "-notebook.fold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "alt+cmd+[", | |
"command": "-notebook.fold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-notebook.format", | |
"when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "escape", | |
"command": "-notebook.hideFind", | |
"when": "notebookEditorFocused && notebookFindWidgetFocused" | |
}, | |
{ | |
"key": "right", | |
"command": "-notebook.unfold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "alt+cmd+]", | |
"command": "-notebook.unfold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "shift+cmd+a", | |
"command": "-notification.acceptPrimaryAction", | |
"when": "notificationFocus || notificationToastsVisible" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"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": "pagedown", | |
"command": "-notifications.focusLastToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ | |
"key": "down", | |
"command": "-notifications.focusNextToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ | |
"key": "up", | |
"command": "-notifications.focusPreviousToast", | |
"when": "notificationFocus && notificationToastsVisible" | |
}, | |
{ "key": "cmd+k shift+cmd+n", "command": "-notifications.showList" }, | |
{ | |
"key": "escape", | |
"command": "-problems.action.clearFilterText", | |
"when": "problemsFilterFocus" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "-problems.action.copy", | |
"when": "problemsVisibility && !relatedInformationFocus && focusedView == 'workbench.panel.markers.view'" | |
}, | |
{ | |
"key": "cmd+f", | |
"command": "-problems.action.focusFilter", | |
"when": "focusedView == 'workbench.panel.markers.view'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-problems.action.focusProblemsFromFilter", | |
"when": "problemsFilterFocus" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-problems.action.open", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "-problems.action.open", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-problems.action.openToSide", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "cmd+.", | |
"command": "-problems.action.showQuickFixes", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+home", | |
"command": "-quickInput.first", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+cmd+home", | |
"command": "-quickInput.first", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+home", | |
"command": "-quickInput.first", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+home", | |
"command": "-quickInput.first", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+end", | |
"command": "-quickInput.last", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+cmd+end", | |
"command": "-quickInput.last", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+end", | |
"command": "-quickInput.last", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+end", | |
"command": "-quickInput.last", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+down", | |
"command": "-quickInput.next", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "down", | |
"command": "-quickInput.next", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+down", | |
"command": "-quickInput.nextSeparator", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+cmd+down", | |
"command": "-quickInput.nextSeparator", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "alt+cmd+down", | |
"command": "-quickInput.nextSeparator", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "cmd+down", | |
"command": "-quickInput.nextSeparatorWithQuickAccessFallback", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+pagedown", | |
"command": "-quickInput.pageNext", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "alt+cmd+pagedown", | |
"command": "-quickInput.pageNext", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+cmd+pagedown", | |
"command": "-quickInput.pageNext", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "cmd+pagedown", | |
"command": "-quickInput.pageNext", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+pagedown", | |
"command": "-quickInput.pageNext", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-quickInput.pageNext", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "alt+pagedown", | |
"command": "-quickInput.pageNext", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "pagedown", | |
"command": "-quickInput.pageNext", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+pageup", | |
"command": "-quickInput.pagePrevious", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "alt+cmd+pageup", | |
"command": "-quickInput.pagePrevious", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+cmd+pageup", | |
"command": "-quickInput.pagePrevious", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "cmd+pageup", | |
"command": "-quickInput.pagePrevious", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+pageup", | |
"command": "-quickInput.pagePrevious", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-quickInput.pagePrevious", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "alt+pageup", | |
"command": "-quickInput.pagePrevious", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "pageup", | |
"command": "-quickInput.pagePrevious", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+up", | |
"command": "-quickInput.previous", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "up", | |
"command": "-quickInput.previous", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+up", | |
"command": "-quickInput.previousSeparator", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |
}, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "-quickInput.previousSeparator", | |
"when": "inQuickInput && quickInputType == 'quickPick'" | |