summaryrefslogtreecommitdiff
path: root/utils/vscode_config/keybindings.json
diff options
context:
space:
mode:
Diffstat (limited to 'utils/vscode_config/keybindings.json')
-rw-r--r--utils/vscode_config/keybindings.json171
1 files changed, 171 insertions, 0 deletions
diff --git a/utils/vscode_config/keybindings.json b/utils/vscode_config/keybindings.json
new file mode 100644
index 00000000..49e0f45c
--- /dev/null
+++ b/utils/vscode_config/keybindings.json
@@ -0,0 +1,171 @@
+[
+ {
+ "key": "shift+ctrl+e",
+ "command": "actions.findWithSelection"
+ },
+ {
+ "key": "ctrl+e",
+ "command": "-actions.findWithSelection"
+ },
+ {
+ "key": "ctrl+e",
+ "command": "workbench.view.explorer"
+ },
+ {
+ "key": "shift+ctrl+e",
+ "command": "-workbench.view.explorer"
+ },
+ {
+ "key": "r",
+ "command": "renameFile",
+ "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
+ },
+ {
+ "key": "enter",
+ "command": "-renameFile",
+ "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
+ },
+ {
+ "key": "j",
+ "command": "list.focusDown",
+ "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
+ },
+ {
+ "key": "k",
+ "command": "list.focusUp",
+ "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
+ },
+ {
+ "key": "ctrl+j",
+ "command": "selectNextSuggestion",
+ "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
+ },
+ {
+ "key": "ctrl+k",
+ "command": "selectPrevSuggestion",
+ "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
+ },
+ {
+ "key": "ctrl+j",
+ "command": "workbench.action.quickOpenNavigateNext",
+ "when": "inQuickOpen"
+ },
+ {
+ "key": "tab",
+ "command": "selectNextSuggestion",
+ "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
+ },
+ {
+ "key": "tab",
+ "command": "workbench.action.quickOpenNavigateNext",
+ "when": "inQuickOpen"
+ },
+ {
+ "key": "shift+tab",
+ "command": "selectPrevSuggestion",
+ "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
+ },
+ {
+ "key": "shift+tab",
+ "command": "workbench.action.quickOpenNavigatePrevious",
+ "when": "inQuickOpen"
+ },
+ {
+ "key": "ctrl+k",
+ "command": "workbench.action.quickOpenNavigatePrevious",
+ "when": "inQuickOpen"
+ },
+ {
+ "key": "enter",
+ "command": "list.select",
+ "when": "explorerViewletVisible && filesExplorerFocus"
+ },
+ {
+ "key": "l",
+ "command": "list.select",
+ "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
+ },
+ {
+ "key": "o",
+ "command": "list.toggleExpand",
+ "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
+ },
+ {
+ "key": "h",
+ "command": "list.collapse",
+ "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
+ },
+ {
+ "key": "a",
+ "command": "explorer.newFile",
+ "when": "filesExplorerFocus && !inputFocus"
+ },
+ {
+ "key": "shift+a",
+ "command": "explorer.newFolder",
+ "when": "filesExplorerFocus && !inputFocus"
+ },
+ {
+ "key": "shift+;",
+ "command": "insertPrevSuggestion",
+ "when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
+ },
+ {
+ "key": "ctrl+l",
+ "when": "sideBarFocus",
+ "command": "workbench.action.focusActiveEditorGroup"
+ },
+ {
+ "key": "ctrl+k",
+ "command": "workbench.action.focusActiveEditorGroup",
+ "when": "terminalFocus"
+ },
+ {
+ "key": "ctrl+shift+t",
+ "command": "workbench.action.terminal.focus",
+ "when": "!terminalFocus"
+ },
+ {
+ "key": "ctrl+j",
+ "command": "-editor.action.insertLineAfter",
+ "when": "editorTextFocus && neovim.ctrlKeysInsert && !neovim.recording && neovim.mode == 'insert'"
+ },
+ {
+ "key": "alt+j",
+ "command": "workbench.action.terminal.focus",
+ "when": "!terminalFocus"
+ },
+ {
+ "key": "ctrl+shift+t",
+ "command": "workbench.action.togglePanel"
+ },
+ {
+ "key": "ctrl+j",
+ "command": "-workbench.action.togglePanel"
+ },
+ {
+ "key": "shift+k",
+ "command": "editor.action.showHover",
+ "when": "editorTextFocus && neovim.mode != 'insert'"
+ },
+ {
+ "key": "ctrl+k ctrl+i",
+ "command": "-editor.action.showHover",
+ "when": "editorTextFocus"
+ },
+ {
+ "key": "shift+tab",
+ "command": "-acceptAlternativeSelectedSuggestion",
+ "when": "suggestWidgetVisible && textInputFocus && textInputFocus"
+ },
+ {
+ "key": "ctrl+f",
+ "command": "-vscode-neovim.ctrl-f",
+ "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
+ },
+ {
+ "key": "space",
+ "command": "whichkey.show",
+ "when": "neovim.mode != 'insert'"
+ }
+]