mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
327 lines
9.2 KiB
JSON
327 lines
9.2 KiB
JSON
// Place your key bindings in this file to override the defaultsauto[]
|
|
[
|
|
{
|
|
"key": "ctrl+j",
|
|
"command": "-vscode-neovim.send",
|
|
"when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.mode == 'insert'"
|
|
},
|
|
{
|
|
"key": "ctrl+j",
|
|
"command": "-vscode-neovim.send",
|
|
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
|
|
},
|
|
{
|
|
"key": "ctrl+j",
|
|
"command": "workbench.action.navigateDown"
|
|
},
|
|
{
|
|
"key": "ctrl+k",
|
|
"command": "-vscode-neovim.send",
|
|
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
|
|
},
|
|
{
|
|
"key": "ctrl+k",
|
|
"command": "workbench.action.navigateUp"
|
|
},
|
|
{
|
|
"key": "ctrl+h",
|
|
"command": "-vscode-neovim.send",
|
|
"when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.mode == 'insert'"
|
|
},
|
|
{
|
|
"key": "ctrl+h",
|
|
"command": "-vscode-neovim.send",
|
|
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
|
|
},
|
|
{
|
|
"key": "ctrl+h",
|
|
"command": "-vscode-neovim.send-cmdline",
|
|
"when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'"
|
|
},
|
|
{
|
|
"key": "ctrl+h",
|
|
"command": "workbench.action.navigateLeft"
|
|
},
|
|
{
|
|
"key": "ctrl+l",
|
|
"command": "-vscode-neovim.send-cmdline",
|
|
"when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'"
|
|
},
|
|
{
|
|
"key": "ctrl+l",
|
|
"command": "-vscode-neovim.send",
|
|
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
|
|
},
|
|
{
|
|
"key": "ctrl+l",
|
|
"command": "workbench.action.navigateRight"
|
|
},
|
|
{
|
|
"key": "ctrl+o k",
|
|
"command": "workbench.action.openGlobalKeybindings"
|
|
},
|
|
{
|
|
"key": "ctrl+k ctrl+s",
|
|
"command": "-workbench.action.openGlobalKeybindings"
|
|
},
|
|
{
|
|
"key": "ctrl+q",
|
|
"command": "-workbench.action.quit"
|
|
},
|
|
{
|
|
"key": "ctrl+q",
|
|
"command": "workbench.action.closeActiveEditor"
|
|
},
|
|
{
|
|
"key": "ctrl+w",
|
|
"command": "-workbench.action.closeActiveEditor"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+q",
|
|
"command": "workbench.action.reopenClosedEditor"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+t",
|
|
"command": "-workbench.action.reopenClosedEditor"
|
|
},
|
|
{
|
|
"key": "ctrl+t a",
|
|
"command": "workbench.action.toggleActivityBarVisibility"
|
|
},
|
|
{
|
|
"key": "ctrl+e",
|
|
"command": "-workbench.action.quickOpen"
|
|
},
|
|
{
|
|
"key": "ctrl+e",
|
|
"command": "-cursorEnd",
|
|
"when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'"
|
|
},
|
|
{
|
|
"key": "ctrl+e",
|
|
"command": "-workbench.action.quickOpenNavigateNextInFilePicker",
|
|
"when": "inFilesPicker && inQuickOpen"
|
|
},
|
|
{
|
|
"key": "ctrl+t p",
|
|
"command": "workbench.action.toggleSidebarVisibility"
|
|
},
|
|
{
|
|
"key": "ctrl+b",
|
|
"command": "-workbench.action.toggleSidebarVisibility"
|
|
},
|
|
{
|
|
"key": "ctrl+t t",
|
|
"command": "workbench.action.terminal.toggleTerminal",
|
|
"when": "terminal.active"
|
|
},
|
|
{
|
|
"key": "ctrl+`",
|
|
"command": "-workbench.action.terminal.toggleTerminal",
|
|
"when": "terminal.active"
|
|
},
|
|
{
|
|
"key": "ctrl+t c",
|
|
"command": "workbench.debug.action.toggleRepl",
|
|
"when": "workbench.panel.repl.view.active"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+y",
|
|
"command": "-workbench.debug.action.toggleRepl",
|
|
"when": "workbench.panel.repl.view.active"
|
|
},
|
|
{
|
|
"key": "ctrl+t o",
|
|
"command": "workbench.action.output.toggleOutput",
|
|
"when": "workbench.panel.output.active"
|
|
},
|
|
{
|
|
"key": "ctrl+k ctrl+h",
|
|
"command": "-workbench.action.output.toggleOutput",
|
|
"when": "workbench.panel.output.active"
|
|
},
|
|
{
|
|
"key": "ctrl+t m",
|
|
"command": "editor.action.toggleMinimap"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+k",
|
|
"command": "-editor.action.deleteLines",
|
|
"when": "textInputFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+h",
|
|
"command": "workbench.action.moveActiveEditorGroupLeft"
|
|
},
|
|
{
|
|
"key": "ctrl+k left",
|
|
"command": "-workbench.action.moveActiveEditorGroupLeft"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+l",
|
|
"command": "workbench.action.moveActiveEditorGroupRight"
|
|
},
|
|
{
|
|
"key": "ctrl+k right",
|
|
"command": "-workbench.action.moveActiveEditorGroupRight"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+k",
|
|
"command": "workbench.action.moveActiveEditorGroupUp"
|
|
},
|
|
{
|
|
"key": "ctrl+k up",
|
|
"command": "-workbench.action.moveActiveEditorGroupUp"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+j",
|
|
"command": "workbench.action.moveActiveEditorGroupDown"
|
|
},
|
|
{
|
|
"key": "ctrl+k down",
|
|
"command": "-workbench.action.moveActiveEditorGroupDown"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+h",
|
|
"command": "-workbench.action.replaceInFiles"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+j",
|
|
"command": "-workbench.action.search.toggleQueryDetails",
|
|
"when": "inSearchEditor || searchViewletFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+l",
|
|
"command": "-addCursorsAtSearchResults",
|
|
"when": "fileMatchOrMatchFocus && searchViewletVisible"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+l",
|
|
"command": "-editor.action.selectHighlights",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+l",
|
|
"command": "-selectAllSearchEditorMatches",
|
|
"when": "inSearchEditor"
|
|
},
|
|
{
|
|
"key": "ctrl+.",
|
|
"command": "-editor.action.quickFix",
|
|
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "ctrl+.",
|
|
"command": "-workbench.action.terminal.quickFix",
|
|
"when": "terminalFocus && terminalProcessSupported"
|
|
},
|
|
{
|
|
"key": "ctrl+.",
|
|
"command": "-acceptSelectedCodeAction",
|
|
"when": "codeActionMenuVisible"
|
|
},
|
|
{
|
|
"key": "ctrl+.",
|
|
"command": "-problems.action.showQuickFixes",
|
|
"when": "problemFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+.",
|
|
"command": "workbench.action.quickOpen"
|
|
},
|
|
{
|
|
"key": "ctrl+p",
|
|
"command": "-workbench.action.quickOpen"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+.",
|
|
"command": "-editor.action.inPlaceReplace.down",
|
|
"when": "editorTextFocus && !editorReadonly"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+.",
|
|
"command": "-breadcrumbs.focusAndSelect",
|
|
"when": "breadcrumbsPossible && breadcrumbsVisible"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+.",
|
|
"command": "-breadcrumbs.toggleToOn",
|
|
"when": "!config.breadcrumbs.enabled"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+f",
|
|
"command": "-workbench.action.findInFiles"
|
|
},
|
|
{
|
|
"key": "ctrl+s f",
|
|
"command": "workbench.action.findInFiles"
|
|
},
|
|
{
|
|
"key": "ctrl+t",
|
|
"command": "-vscode-neovim.send-cmdline",
|
|
"when": "neovim.mode == 'cmdline_insert' || neovim.mode == 'cmdline_normal' || neovim.mode == 'cmdline_replace'"
|
|
},
|
|
{
|
|
"key": "ctrl+t",
|
|
"command": "-vscode-neovim.send",
|
|
"when": "editorTextFocus && neovim.ctrlKeysInsert && neovim.mode == 'insert'"
|
|
},
|
|
{
|
|
"key": "ctrl+t",
|
|
"command": "-workbench.action.showAllSymbols"
|
|
},
|
|
{
|
|
"key": "ctrl+j",
|
|
"command": "-workbench.action.togglePanel"
|
|
},
|
|
{
|
|
"key": "ctrl+s e",
|
|
"command": "workbench.view.explorer",
|
|
"when": "viewContainer.workbench.view.explorer.enabled"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+e",
|
|
"command": "-workbench.view.explorer",
|
|
"when": "viewContainer.workbench.view.explorer.enabled"
|
|
},
|
|
{
|
|
"key": "ctrl+s f",
|
|
"command": "workbench.view.search",
|
|
"when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+f",
|
|
"command": "-workbench.view.search",
|
|
"when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/"
|
|
},
|
|
{
|
|
"key": "ctrl+s g",
|
|
"command": "workbench.view.scm",
|
|
"when": "workbench.scm.active"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+g",
|
|
"command": "-workbench.view.scm",
|
|
"when": "workbench.scm.active"
|
|
},
|
|
{
|
|
"key": "ctrl+s d",
|
|
"command": "workbench.view.debug",
|
|
"when": "viewContainer.workbench.view.debug.enabled"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+d",
|
|
"command": "-workbench.view.debug",
|
|
"when": "viewContainer.workbench.view.debug.enabled"
|
|
},
|
|
{
|
|
"key": "ctrl+s x",
|
|
"command": "workbench.view.extensions",
|
|
"when": "viewContainer.workbench.view.extensions.enabled"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+x",
|
|
"command": "-workbench.view.extensions",
|
|
"when": "viewContainer.workbench.view.extensions.enabled"
|
|
}
|
|
] |