Last active
August 18, 2022 07:29
-
-
Save saif97/3adca31edcf25dbd049ca91719acd92f to your computer and use it in GitHub Desktop.
configs
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
// uefer to this link to wind the possible when conditions | |
// https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts | |
[ | |
{ | |
"key": "ctrl+e", | |
"command": "workbench.action.focusBelowGroup" | |
}, | |
// Vim like | |
{ | |
"key": "p", | |
"command": "copyRelativeFilePath", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "r", | |
"command": "renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "x", | |
"command": "revealFileInOS", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "e", | |
"command": "list.focusDown", | |
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "u", | |
"command": "list.focusUp", | |
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": " i", | |
"command": "list.toggleExpand", | |
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "n", | |
"command": "list.collapse", | |
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "f", | |
"command": "explorer.newFile", | |
"when": "filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "d", | |
"command": "explorer.newFolder", | |
"when": "filesExplorerFocus && !inputFocus" | |
}, | |
{ | |
"key": "alt+h shift", | |
"command": "editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
// End Vim Like | |
{ | |
"key": "ctrl+n", | |
"command": "workbench.action.focusLeftGroup" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonlye" | |
}, | |
{ | |
"key": "cmd+y", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "extension.multiCommand.execute", | |
"args": { | |
"command": "multiCommand.format" | |
}, | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument.none", | |
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorHasDocumentFormattingProvider && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+f5", | |
"command": "-workbench.action.debug.run" | |
}, | |
{ | |
"key": "ctrl+shift+q", | |
"command": "-workbench.action.quickOpenNavigatePreviousInViewPicker", | |
"when": "inQuickOpen && inViewsPicker" | |
}, | |
{ | |
"key": "ctrl+unknown", | |
"command": "workbench.action.quickOpenNavigateNextInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "-workbench.action.quickOpenNavigateNextInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "f16", | |
"command": "workbench.action.showCommands" | |
}, | |
{ | |
"key": "ctrl+shift+p", | |
"command": "-workbench.action.showCommands" | |
}, | |
{ | |
"key": "f13 e", | |
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+p", | |
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+m", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "-workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "workbench.action.toggleZenMode" | |
}, | |
{ | |
"key": "ctrl+k z", | |
"command": "-workbench.action.toggleZenMode" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "-editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "problems.action.showQuickFixes", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "-problems.action.showQuickFixes", | |
"when": "problemFocus" | |
}, | |
{ | |
"key": "f13 8", | |
"command": "editor.action.marker.next", | |
"when": "editorFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+f8", | |
"command": "-editor.action.marker.next", | |
"when": "editorFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f13 8", | |
"command": "editor.action.marker.nextInFiles", | |
"when": "editorFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f8", | |
"command": "-editor.action.marker.nextInFiles", | |
"when": "editorFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f13 d", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+f13 l", | |
"command": "editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+]", | |
"command": "-editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "f13 r", | |
"command": "editor.action.goToReferences", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "-editor.action.goToReferences", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f13 r", | |
"command": "goToPreviousReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "-goToPreviousReference", | |
"when": "inReferenceSearchEditor || referenceSearchVisible" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "flutter.hotReload", | |
"when": "dart-code:anyFlutterProjectLoaded && dart-code:service.reloadSources && inDebugMode" | |
}, | |
{ | |
"key": "ctrl+f5", | |
"command": "-flutter.hotReload", | |
"when": "dart-code:anyFlutterProjectLoaded && dart-code:service.reloadSources && inDebugMode" | |
}, | |
{ | |
"key": "ctrl+x", | |
"command": "revealFileInOS", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "-revealFileInOS", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "f13 c", | |
"command": "copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+shift+c", | |
"command": "-copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "f13 o", | |
"command": "editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "-editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "f13 o", | |
"command": "addCursorsAtSearchResults", | |
"when": "fileMatchOrMatchFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "-addCursorsAtSearchResults", | |
"when": "fileMatchOrMatchFocus && searchViewletVisible" | |
}, | |
{ | |
"key": "f13 o", | |
"command": "selectAllSearchEditorMatches", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "-selectAllSearchEditorMatches", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "ctrl+a", | |
"command": "workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "-workbench.action.debug.start", | |
"when": "!inDebugMode" | |
}, | |
{ | |
"key": "shift+alt+o", | |
"command": "-editor.action.organizeImports", | |
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/" | |
}, | |
{ | |
"key": "f13 b", | |
"command": "editor.debug.action.toggleBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "f9", | |
"command": "-editor.debug.action.toggleBreakpoint", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f5", | |
"command": "-workbench.action.debug.continue", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "workbench.action.debug.stepOver", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "f10", | |
"command": "-workbench.action.debug.stepOver", | |
"when": "debugState == 'stopped'" | |
}, | |
{ | |
"key": "f13 n", | |
"command": "workbench.action.focusLastEditorGroup" | |
}, | |
{ | |
"key": "f13 g", | |
"command": "workbench.debug.action.focusRepl" | |
}, | |
{ | |
"key": "ctrl+s", | |
"command": "multiCommand.hideSidePanels" | |
}, | |
{ | |
"key": "f15", | |
"command": "multiCommand.openAndCloseExplorer", | |
"when": "filesExplorerFocus" | |
}, | |
{ | |
"key": "f15", | |
"command": "multiCommand.EscapeKeyOnEditor", | |
// "when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+o", | |
"command": "multiCommand.multiComSuggest", | |
// "when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "multiCommand.run" | |
}, | |
{ | |
"key": "f14 s", | |
"command": "workbench.action.terminal.resizePaneDown" | |
}, | |
{ | |
"key": "ctrl+shift+alt+-", | |
"command": "workbench.action.terminal.resizePaneRight" | |
}, | |
{ | |
"key": "cmd+' f", | |
"command": "explorer.newFile" | |
}, | |
{ | |
"key": "cmd+' d", | |
"command": "explorer.newFolder" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+x", | |
"command": "-multiclip.cutMerge", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "f13 a", | |
"command": "breadcrumbs.focusAndSelect", | |
"when": "breadcrumbsPossible" | |
}, | |
{ | |
"key": "ctrl+shift+.", | |
"command": "-breadcrumbs.focusAndSelect", | |
"when": "breadcrumbsPossible" | |
}, | |
{ | |
"key": "ctrl+k ctrl+j", | |
"command": "-editor.unfoldAll", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.quickOpenLeastRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.quickOpenNavigatePreviousInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "-workbench.action.quickOpenNavigateNextInEditorPicker", | |
"when": "inEditorsPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+w", | |
"command": "-workbench.action.closeWindow" | |
}, | |
{ | |
"key": "escape", | |
"command": "-extension.vim_escape", | |
"when": "editorTextFocus && vim.active && !inDebugRepl" | |
}, | |
{ | |
"key": "alt+`", | |
"command": "toggle", | |
"when": "editorTextFocus", | |
"args": { | |
"id": "minimap", | |
"value": [ | |
{ | |
"dart.flutterHotReloadOnSave": true | |
}, | |
{ | |
"dart.flutterHotReloadOnSave": false | |
} | |
] | |
} | |
}, | |
{ | |
"key": "alt+1", | |
"command": "toggle", | |
"when": "editorTextFocus", | |
"args": { | |
"id": "toggle_line_numbers", | |
"value": [ | |
{ | |
"editor.lineNumbers": "relative" | |
}, | |
{ | |
"editor.lineNumbers": "on" | |
} | |
] | |
} | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "-vscode-neovim.escape", | |
"when": "editorTextFocus && neovim.init" | |
}, | |
{ | |
"key": "ctrl+,", | |
"command": "-workbench.action.openSettings" | |
}, | |
{ | |
"key": "ctrl+0", | |
"command": "-workbench.action.focusSideBar" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "-settings.action.editFocusedSetting", | |
"when": "inSettingsSearch" | |
}, | |
{ | |
"key": "ctrl+] shift", | |
"command": "workbench.action.increaseViewSize" | |
}, | |
{ | |
"key": "ctrl+[ shift", | |
"command": "workbench.action.decreaseViewSize" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "-workbench.action.lastEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+=", | |
"command": "-workbench.action.zoomIn" | |
}, | |
{ | |
"key": "ctrl+=", | |
"command": "workbench.action.evenEditorWidths" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "workbench.action.toggleEditorWidths" | |
}, | |
{ | |
"key": "ctrl+k ctrl+down", | |
"command": "-workbench.action.focusBelowGroup" | |
}, | |
{ | |
"key": "ctrl+u", | |
"command": "workbench.action.focusAboveGroup" | |
}, | |
{ | |
"key": "ctrl+k ctrl+up", | |
"command": "-workbench.action.focusAboveGroup" | |
}, | |
{ | |
"key": "ctrl+i", | |
"command": "workbench.action.focusRightGroup" | |
}, | |
{ | |
"key": "ctrl+k ctrl+right", | |
"command": "-workbench.action.focusRightGroup" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.zoomOut" | |
}, | |
{ | |
"key": "alt+=", | |
"command": "-increaseSearchEditorContextLines", | |
"when": "inSearchEditor" | |
}, | |
{ | |
"key": "ctrl+v", | |
"command": "workbench.action.splitEditorRight" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.splitEditorDown" | |
}, | |
{ | |
"key": "ctrl+v", | |
"command": "-vscode-neovim.send", | |
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'" | |
}, | |
{ | |
"key": "ctrl+x", | |
"command": "-vscode-neovim.send", | |
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'" | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "vscode-neovim.send", | |
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode == 'visual'" | |
}, | |
{ | |
"key": "ctrl+z", | |
"command": "-vscode-neovim.send", | |
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'" | |
}, | |
{ | |
"key": "escape", | |
"command": "-vscode-neovim.escape", | |
"when": "editorTextFocus && neovim.init" | |
}, | |
// { | |
// "key": "f15", | |
// "command": "vscode-neovim.escape", | |
// "when": "editorTextFocus && neovim.init" | |
// }, | |
{ | |
"key": "ctrl+[", | |
"command": "-vscode-neovim.escape", | |
"when": "editorTextFocus && neovim.init" | |
}, | |
{ | |
"key": "ctrl+k w", | |
"command": "-workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "alt+1", | |
"command": "-workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.debug.stop", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "shift+f5", | |
"command": "-workbench.action.debug.stop", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+i", | |
"command": "-editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
// ================= TERMINAL STUFF ================= | |
{ | |
"key": "ctrl+u", | |
"command": "workbench.action.terminal.focusPreviousPane", | |
"when": "inDebugRepl || terminalFocus" | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "workbench.action.terminal.focusNextPane", | |
"when": "inDebugRepl || terminalFocus" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.terminal.split", | |
"when": "inDebugRepl || terminalFocus" | |
}, | |
{ | |
"key": "cmd+e", | |
"command": "workbench.action.terminal.resizePaneDown", | |
"when": "inDebugRepl || terminalFocus" | |
}, | |
{ | |
"key": "cmd+u", | |
"command": "workbench.action.terminal.resizePaneUp", | |
"when": "inDebugRepl || terminalFocus" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.terminal.resizePaneLeft", | |
"when": "inDebugRepl || terminalFocus" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "workbench.action.terminal.resizePaneRight", | |
"when": "inDebugRepl || terminalFocus" | |
}, | |
{ | |
"key": "ctrl+y", | |
"command": "workbench.action.toggleMaximizedPanel" | |
// "when": "terminalFocus || inDebugRepl" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "workbench.debug.action.toggleRepl" | |
}, | |
{ | |
"key": "ctrl+shift+y", | |
"command": "-workbench.debug.action.toggleRepl" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "-vscode-neovim.ctrl-f", | |
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "-vscode-neovim.delete-char-left-cmdline", | |
"when": "neovim.mode == 'cmdline_normal'" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "-vscode-neovim.send", | |
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "-vscode-neovim.send", | |
"when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.recording && neovim.mode == 'insert'" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "-vscode-neovim.send", | |
"when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "-vscode-neovim.send", | |
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "-vscode-neovim.send", | |
"when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.recording && neovim.mode == 'insert'" | |
}, | |
{ | |
"key": "cmd+y", | |
"command": "editor.toggleFold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+l", | |
"command": "-editor.toggleFold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "f1", | |
"command": "-workbench.action.showCommands" | |
}, | |
{ | |
"key": "ctrl+k ctrl+2", | |
"command": "-editor.foldLevel2", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "-workbench.action.reloadWindow", | |
"when": "isDevelopment" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "ctrl+shift+f5", | |
"command": "-workbench.action.debug.restart", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "ctrl+m", | |
"command": "-editor.action.toggleTabFocusMode" | |
}, | |
{ | |
"key": "right", | |
"command": "nextCompressedFolder", | |
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedLastFocus && !inputFocus" | |
}, | |
{ | |
"key": "right", | |
"command": "-nextCompressedFolder", | |
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedLastFocus && !inputFocus" | |
}, | |
{ | |
"key": "left", | |
"command": "previousCompressedFolder", | |
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedFirstFocus && !inputFocus" | |
}, | |
{ | |
"key": "left", | |
"command": "-previousCompressedFolder", | |
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedFirstFocus && !inputFocus" | |
}, | |
{ | |
"key": "alt+c", | |
"command": "-workbench.action.terminal.toggleFindCaseSensitive", | |
"when": "terminalFindFocused || terminalFocus" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "multiCommand.format" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "-deleteAllLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+backspace", | |
"command": "deleteWordLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+backspace", | |
"command": "-deleteWordLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeWindow", | |
"when": "!editorIsOpen && !multipleEditorGroups" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeGroup", | |
"when": "activeEditorGroupEmpty && multipleEditorGroups" | |
}, | |
{ | |
"key": "shift+cmd+w", | |
"command": "-workbench.action.closeWindow" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "workbench.action.openRecent" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "-workbench.action.openRecent" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.terminal.split", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.splitEditor" | |
}, | |
{ | |
"key": "ctrl+backspace", | |
"command": "-deleteLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "alt+backspace", | |
"command": "notebook.cell.delete", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "cmd+backspace", | |
"command": "-notebook.cell.delete", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-workbench.action.quickOpenSelectNext", | |
"when": "neovim.mode == 'cmdline_normal'" | |
}, | |
{ | |
"key": "alt+escape", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+u", | |
"command": "-deleteAllLeft", | |
"when": "editorTextFocus && neovim.ctrlKeysInsert && !neovim.recording && neovim.mode == 'insert'" | |
}, | |
{ | |
"key": "shift+cmd+'", | |
"command": "workbench.action.files.openFileFolder" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "-workbench.action.files.openFileFolder" | |
}, | |
// { | |
// "key": "f15", | |
// "command": "workbench.action.focusActiveEditorGroup", | |
// "when": "terminalFocus || " | |
// }, | |
{ | |
"key": "enter", | |
"command": "-renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+q", | |
"command": "workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "cmd+k w", | |
"command": "-workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditorInGroup" | |
}, | |
{ | |
"key": "cmd+k alt+cmd+right", | |
"command": "-workbench.action.nextEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditorInGroup" | |
}, | |
{ | |
"key": "cmd+k alt+cmd+left", | |
"command": "-workbench.action.previousEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.openNextRecentlyUsedEditorInGroup" | |
}, | |
// editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode == 'insert' | |
// editorTextFocus && !editorReadonly | |
{ | |
"key": "ctrl+enter", | |
"command": "-jupyter.runcurrentcell", | |
"when": "editorTextFocus && jupyter.hascodecells && !editorHasSelection && !jupyter.havenativecells && !notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "-notebook.cell.execute", | |
"when": "notebookCellListFocused" | |
}, | |
{ | |
"key": "ctrl+/ shift", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode == 'insert'" | |
}, | |
{ | |
"key": "cmd+/", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+/", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+y", | |
"command": "-workbench.debug.action.toggleRepl", | |
"when": "workbench.panel.repl.view.active" | |
}, | |
{ | |
"key": "alt+d shift", | |
"command": "workbench.debug.action.toggleRepl", | |
"when": "workbench.panel.repl.view.active" | |
}, | |
{ | |
"key": "shift+cmd+y", | |
"command": "-workbench.debug.action.toggleRepl", | |
"when": "workbench.panel.repl.view.active" | |
}, | |
{ | |
"key": "alt+h", | |
"command": "-git.viewFileHistory" | |
}, | |
{ | |
"key": "cmd+]", | |
"command": "-editor.action.indentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "-editor.action.outdentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+enter shift", | |
"command": "jupyter.runcurrentcell" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-workbench.action.navigateForward" | |
}, | |
{ | |
"key": "enter", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "editorFocus && findInputFocussed" | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-editor.action.previousMatchFindAction", | |
"when": "editorFocus && findInputFocussed" | |
}, | |
{ | |
"key": "cmd+u", | |
"command": "-cursorUndo", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+e", | |
"command": "-actions.findWithSelection" | |
}, | |
{ | |
"key": "escape", | |
"command": "closeFindWidget", | |
"when": "findWidgetVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "-closeFindWidget", | |
"when": "editorFocus && findWidgetVisible && !isComposing" | |
}, | |
{ | |
"key": "cmd+n shift", | |
"command": "workbench.action.navigateBack", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+o shift", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+i shift", | |
"command": "workbench.action.navigateForward", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+=", | |
"command": "-workbench.action.zoomIn" | |
}, | |
{ | |
"key": "cmd+= shift", | |
"command": "workbench.action.zoomIn" | |
}, | |
{ | |
"key": "cmd+numpad_add", | |
"command": "-workbench.action.zoomIn" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment