Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Place your key bindings in this file to override the defaults
- [
- /* {
- "key": "shift+space",
- "command": "extension.vim_escape",
- "when": "editorTextFocus"
- }, */
- {
- "key": "ctrl+c",
- "command": "-extension.vim_ctrl+c",
- "when": "editorTextFocus && vim.active && vim.overrideCtrlC && vim.use<C-c> && !inDebugRepl"
- },
- {
- "key": "ctrl+v",
- "command": "-extension.vim_ctrl+v",
- "when": "editorTextFocus && vim.active && vim.use<C-v> && !inDebugRepl"
- },
- {
- "key": "ctrl+a",
- "command": "-extension.vim_ctrl+a",
- "when": "editorTextFocus && vim.active && vim.use<C-a> && !inDebugRepl"
- },
- {
- "key": "ctrl+[",
- "command": "-extension.vim_ctrl+[",
- "when": "editorTextFocus && vim.active && vim.use<C-[> && !inDebugRepl"
- },
- {
- "key": "ctrl+]",
- "command": "-extension.vim_ctrl+]",
- "when": "editorTextFocus && vim.active && vim.use<C-]> && !inDebugRepl"
- },
- {
- "key": "ctrl+d",
- "command": "-extension.vim_ctrl+d",
- "when": "editorTextFocus && vim.active && vim.use<C-d> && !inDebugRepl"
- },
- {
- "key": "ctrl+x",
- "command": "-extension.vim_ctrl+x",
- "when": "editorTextFocus && vim.active && vim.use<C-x> && !inDebugRepl"
- },
- {
- "key": "ctrl+e",
- "command": "-extension.vim_ctrl+e",
- "when": "editorTextFocus && vim.active && vim.use<C-e> && !inDebugRepl"
- },
- {
- "key": "ctrl+f",
- "command": "-extension.vim_ctrl+f",
- "when": "editorTextFocus && vim.active && vim.use<C-f> && !inDebugRepl && vim.mode != 'Insert'"
- },
- {
- "key": "ctrl+shift+.",
- "command": "-breadcrumbs.focusAndSelect",
- "when": "breadcrumbsPossible"
- },
- {
- "key": "ctrl+shift+.",
- "command": "-editor.action.inPlaceReplace.down",
- "when": "editorTextFocus && !editorReadonly"
- },
- {
- "key": "ctrl+shift+.",
- "command": "-breadcrumbs.toggleToOn",
- "when": "!config.breadcrumbs.enabled"
- },
- {
- "key": "ctrl+shift+,",
- "command": "-editor.action.inPlaceReplace.up",
- "when": "editorTextFocus && !editorReadonly"
- },
- {
- "key": "tab",
- "command": "-extension.vim_tab",
- "when": "editorFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'"
- },
- {
- "key": "shift+tab",
- "command": "-extension.vim_shift+tab",
- "when": "editorFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'"
- },
- {
- "key": "ctrl+t",
- "command": "-extension.vim_ctrl+t",
- "when": "editorTextFocus && vim.active && vim.use<C-t> && !inDebugRepl"
- },
- {
- "key": "ctrl+t",
- "command": "-workbench.action.showAllSymbols"
- },
- {
- "key": "ctrl+n",
- "command": "-extension.vim_ctrl+n",
- "when": "editorTextFocus && vim.active && vim.use<C-n> && !inDebugRepl || vim.active && vim.use<C-n> && !inDebugRepl && vim.mode == 'CommandlineInProgress' || vim.active && vim.use<C-n> && !inDebugRepl && vim.mode == 'SearchInProgressMode'"
- },
- {
- "key": "ctrl+r",
- "command": "-extension.vim_ctrl+r",
- "when": "editorTextFocus && vim.active && vim.use<C-r> && !inDebugRepl"
- },
- {
- "key": "ctrl+r",
- "command": "-workbench.action.openRecent"
- },
- {
- "key": "ctrl+r",
- "command": "-workbench.action.reloadWindow",
- "when": "isDevelopment"
- },
- {
- "key": "ctrl+r",
- "command": "-workbench.action.gotoSymbol"
- },
- {
- "key": "ctrl+r",
- "command": "-workbench.action.quickOpenNavigateNextInRecentFilesPicker",
- "when": "inQuickOpen && inRecentFilesPicker"
- },
- {
- "key": "ctrl+r",
- "command": "extension.vim_ctrl+e"
- },
- {
- "key": "ctrl+p",
- "command": "-extension.vim_ctrl+p",
- "when": "suggestWidgetVisible && vim.active && vim.use<C-p> && !inDebugRepl || vim.active && vim.use<C-p> && !inDebugRepl && vim.mode == 'CommandlineInProgress' || vim.active && vim.use<C-p> && !inDebugRepl && vim.mode == 'SearchInProgressMode'"
- },
- {
- "key": "ctrl+l",
- "command": "workbench.action.editor.changeLanguageMode",
- "when": "!notebookEditorFocused"
- },
- {
- "key": "ctrl+k m",
- "command": "-workbench.action.editor.changeLanguageMode",
- "when": "!notebookEditorFocused"
- },
- {
- "key": "ctrl+1",
- "command": "-workbench.action.focusFirstEditorGroup"
- },
- {
- "key": "ctrl+shift+j",
- "command": "-workbench.action.search.toggleQueryDetails",
- "when": "inSearchEditor || searchViewletFocus"
- },
- {
- "key": "ctrl+shift+t",
- "command": "workbench.action.terminal.focusNext",
- "when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus"
- },
- {
- "key": "ctrl+pagedown",
- "command": "-workbench.action.terminal.focusNext",
- "when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus"
- },
- {
- "key": "ctrl+shift+k",
- "command": "-editor.action.deleteLines",
- "when": "textInputFocus && !editorReadonly"
- },
- {
- "key": "ctrl+shift+k",
- "command": "-editor.action.deleteLines",
- "when": "editorFocus"
- },
- {
- "key": "ctrl+shift+n",
- "command": "workbench.action.terminal.focusPrevious",
- "when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus"
- },
- {
- "key": "ctrl+pageup",
- "command": "-workbench.action.terminal.focusPrevious",
- "when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus"
- },
- {
- "key": "ctrl+shift+h",
- "command": "-workbench.action.replaceInFiles"
- },
- {
- "key": "ctrl+w",
- "command": "-workbench.action.terminal.killEditor",
- "when": "terminalEditorFocus && terminalFocus && terminalProcessSupported && resourceScheme == 'vscode-terminal'"
- },
- {
- "key": "ctrl+shift+h",
- "command": "workbench.action.terminal.kill",
- "when": "terminalFocus && terminalProcessSupported && !terminalEditorFocus"
- },
- {
- "key": "ctrl+shift+=",
- "command": "-workbench.action.zoomIn"
- },
- {
- "key": "ctrl+=",
- "command": "-workbench.action.zoomIn"
- },
- {
- "key": "ctrl+-",
- "command": "-workbench.action.zoomOut"
- },
- {
- "key": "ctrl+;",
- "command": "-workbench.action.gotoSymbol"
- },
- {
- "key": "ctrl+;",
- "command": "undo"
- },
- {
- "key": "ctrl+z",
- "command": "-undo"
- },
- {
- "key": "ctrl+.",
- "command": "-editor.action.quickFix",
- "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
- },
- {
- "key": "ctrl+.",
- "command": "-problems.action.showQuickFixes",
- "when": "problemFocus"
- },
- {
- "key": "ctrl+.",
- "command": "workbench.action.quickOpen"
- },
- {
- "key": "ctrl+e",
- "command": "-workbench.action.quickOpen"
- },
- {
- "key": "ctrl+.",
- "command": "workbench.action.quickOpenNavigateNextInFilePicker",
- "when": "inFilesPicker && inQuickOpen"
- },
- {
- "key": "ctrl+e",
- "command": "-workbench.action.quickOpenNavigateNextInFilePicker",
- "when": "inFilesPicker && inQuickOpen"
- },
- {
- "key": "ctrl+e",
- "command": "editor.action.addSelectionToNextFindMatch",
- "when": "editorFocus"
- },
- {
- "key": "ctrl+d",
- "command": "-editor.action.addSelectionToNextFindMatch",
- "when": "editorFocus"
- },
- {
- "key": "ctrl+e",
- "command": "list.focusPageDown",
- "when": "listFocus && !inputFocus"
- },
- {
- "key": "ctrl+d",
- "command": "-list.focusPageDown",
- "when": "listFocus && !inputFocus"
- },
- {
- "key": "ctrl+o",
- "command": "-workbench.action.files.openFile",
- "when": "true"
- },
- {
- "key": "ctrl+o",
- "command": "-workbench.action.files.openFileFolder",
- "when": "isMacNative && openFolderWorkspaceSupport"
- },
- {
- "key": "ctrl+o",
- "command": "-extension.vim_ctrl+o",
- "when": "editorTextFocus && vim.active && vim.use<C-o> && !inDebugRepl"
- },
- {
- "key": "ctrl+o",
- "command": "-workbench.action.files.openLocalFile",
- "when": "remoteFileDialogVisible"
- },
- {
- "key": "ctrl+o",
- "command": "workbench.action.files.save"
- },
- {
- "key": "ctrl+s",
- "command": "-workbench.action.files.save"
- },
- {
- "key": "ctrl+p",
- "command": "-workbench.action.quickOpen"
- },
- {
- "key": "ctrl+p",
- "command": "-workbench.action.quickOpenNavigateNextInFilePicker",
- "when": "inFilesPicker && inQuickOpen"
- },
- {
- "key": "ctrl+p",
- "command": "-workbench.action.quickOpenPreviousEditor"
- },
- {
- "key": "ctrl+l",
- "command": "-notebook.centerActiveCell",
- "when": "notebookEditorFocused"
- },
- {
- "key": "ctrl+l",
- "command": "-expandLineSelection",
- "when": "textInputFocus"
- },
- {
- "key": "ctrl+l",
- "command": "-expandLineSelection",
- "when": "editorFocus"
- },
- {
- "key": "ctrl+l",
- "command": "-extension.vim_navigateCtrlL",
- "when": "editorTextFocus && vim.active && vim.use<C-l> && !inDebugRepl"
- },
- {
- "key": "ctrl+shift+t",
- "command": "-workbench.action.reopenClosedEditor"
- },
- {
- "key": "ctrl+shift+n",
- "command": "-workbench.action.newWindow"
- },
- {
- "key": "ctrl+0",
- "command": "-workbench.action.focusSideBar"
- },
- {
- "key": "ctrl+9",
- "command": "-workbench.action.lastEditorInGroup"
- },
- {
- "key": "ctrl+shift+d",
- "command": "-workbench.view.debug",
- "when": "viewContainer.workbench.view.debug.enabled"
- },
- {
- "key": "ctrl+w",
- "command": "-extension.vim_ctrl+w",
- "when": "editorTextFocus && vim.active && vim.use<C-w> && !inDebugRepl"
- },
- {
- "key": "ctrl+shift+y",
- "command": "-workbench.debug.action.toggleRepl",
- "when": "workbench.panel.repl.view.active"
- },
- {
- "key": "ctrl+u",
- "command": "-extension.vim_ctrl+u",
- "when": "editorTextFocus && vim.active && vim.use<C-u> && !inDebugRepl"
- },
- {
- "key": "ctrl+u",
- "command": "-list.focusPageUp",
- "when": "listFocus && !inputFocus"
- },
- {
- "key": "ctrl+u",
- "command": "-cursorUndo",
- "when": "textInputFocus"
- },
- {
- "key": "ctrl+u",
- "command": "extension.vim_ctrl+u"
- },
- {
- "key": "ctrl+u",
- "when": "editorTextFocus",
- "command": "moveby.calculation",
- "args": {
- "lineNrEx": "selections[selections.length-1].start.line",
- "charNrEx": "selections[selections.length-1].start.character"
- }
- }
- ]
Add Comment
Please, Sign In to add comment