dotfiles/.config/VSCodium/User/keybindings.json

222 lines
6.2 KiB
JSON
Raw Normal View History

2022-11-29 20:22:10 -08:00
// 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"
2022-11-29 23:06:09 -08:00
},
{
"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 e",
"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 p",
"command": "workbench.actions.view.problems",
"when": "workbench.panel.markers.view.active"
},
{
"key": "ctrl+shift+m",
"command": "-workbench.actions.view.problems",
"when": "workbench.panel.markers.view.active"
},
{
"key": "ctrl+t m",
"command": "editor.action.toggleMinimap"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"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"
2022-11-29 20:22:10 -08:00
}
]