[ { "key": "ctrl+shift+v", "command": "-markdown.showPreview", "when": "!notebookEditorFocused && editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/" }, { "key": "alt+f11 v", "command": "toggleVim" }, { "key": "alt+f11 l", "command": "toggle-relative-line-numbers.toggle", "when": "editorTextFocus" }, { "key": "ctrl+alt+l", "command": "-toggle-relative-line-numbers.toggle", "when": "editorTextFocus" }, // sidebar (equivalent to my nerdtree nvim config) { "key": "alt+shift+n", "command": "workbench.explorer.fileView.focus", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+n", "command": "workbench.action.toggleSidebarVisibility", "when": "vim.active && vim.mode == 'Normal'" }, // diagnostic navigation (mirrors [g / ]g from coc.nvim) { "key": "[ g", "command": "editor.action.marker.prevInFiles", "when": "vim.active && vim.mode == 'Normal' && editorFocus" }, { "key": "] g", "command": "editor.action.marker.nextInFiles", "when": "vim.active && vim.mode == 'Normal' && editorFocus" }, // splits operation { "key": "alt+s", "command": "workbench.action.splitEditorRight", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+d", "command": "workbench.action.splitEditorDown", "when": "vim.active && vim.mode == 'Normal'" }, // splits navigation { "key": "alt+h", "command": "workbench.action.focusLeftGroup", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+j", "command": "workbench.action.focusBelowGroup", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+k", "command": "workbench.action.focusAboveGroup", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+l", "command": "workbench.action.focusRightGroup", "when": "vim.active && vim.mode == 'Normal'" }, // alternate close { "key": "alt+q", "command": "workbench.action.closeActiveEditor", "when": "vim.active && vim.mode == 'Normal'" }, // tab operations { "key": "alt+t", "command": "workbench.action.files.newUntitledFile", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+[", "command": "workbench.action.previousEditor", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+]", "command": "workbench.action.nextEditor", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+;", "command": "workbench.action.moveEditorLeftInGroup", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+'", "command": "workbench.action.moveEditorRightInGroup", "when": "vim.active && vim.mode == 'Normal'" }, // splits resizing { "key": "alt+,", "command": "workbench.action.decreaseViewWidth", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+.", "command": "workbench.action.increaseViewWidth", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+-", "command": "workbench.action.decreaseViewHeight", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+=", "command": "workbench.action.increaseViewHeight", "when": "vim.active && vim.mode == 'Normal'" }, { "key": "alt+f11 s", "command": "cSpell.toggleEnableSpellChecker" }, { "key": "shift+alt+t", "command": "workbench.action.terminal.toggleTerminal", "when": "terminal.active" }, { "key": "shift+alt+p", "command": "workbench.action.togglePanel" }, { "key": "shift+alt+b j", "command": "workbench.action.togglePanel" }, { "key": "shift+alt+b down", "command": "workbench.action.togglePanel" }, { "key": "ctrl+`", "command": "-workbench.action.terminal.toggleTerminal", "when": "terminal.active" }, { "key": "ctrl+`", "command": "workbench.action.showAllEditors" }, { "key": "shift+alt+j", "command": "workbench.action.focusNextPart" }, { "key": "shift+alt+k", "command": "workbench.action.focusPreviousPart" }, { "key": "alt+f11 t", "command": "workbench.action.terminal.openNativeConsole", "when": "!terminalFocus" }, { "key": "ctrl+shift+c", "command": "-workbench.action.terminal.openNativeConsole", "when": "!terminalFocus" }, // panel navigation-ish { "key": "shift+alt+[", "command": "workbench.action.previousPanelView" }, { "key": "shift+alt+]", "command": "workbench.action.nextPanelView" }, { "key": "shift+alt+b h", "command": "workbench.action.toggleSidebarVisibility" }, { "key": "ctrl+b", "command": "-workbench.action.toggleSidebarVisibility" }, { "key": "ctrl+shift+v", "command": "editor.action.clipboardPasteAction" }, { "key": "shift+alt+b l", "command": "workbench.action.toggleAuxiliaryBar" }, { "key": "ctrl+alt+b", "command": "-workbench.action.toggleAuxiliaryBar" }, { "key": "shift+alt+b left", "command": "workbench.action.toggleSidebarVisibility" }, { "key": "shift+alt+b right", "command": "workbench.action.toggleAuxiliaryBar" }, { "key": "shift+alt+c", "command": "toggle.window.commandCenter" }, { "key": "shift+alt+b k", "command": "workbench.action.hideEditorTabs", "when": "editorTabsVisible" }, { "key": "shift+alt+b k", "command": "workbench.action.showMultipleEditorTabs", "when": "!editorTabsVisible" }, { "key": "shift+alt+b up", "command": "workbench.action.hideEditorTabs", "when": "editorTabsVisible" }, { "key": "shift+alt+b up", "command": "workbench.action.showMultipleEditorTabs", "when": "!editorTabsVisible" } ]