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.json129
1 files changed, 129 insertions, 0 deletions
diff --git a/utils/vscode_config/keybindings.json b/utils/vscode_config/keybindings.json
new file mode 100644
index 00000000..9ba07de6
--- /dev/null
+++ b/utils/vscode_config/keybindings.json
@@ -0,0 +1,129 @@
+// Place your key bindings in this file to override the defaultsauto[]
+[
+ {
+ "key": "shift+cmd+e",
+ "command": "actions.findWithSelection"
+ },
+ {
+ "key": "cmd+e",
+ "command": "-actions.findWithSelection"
+ },
+ {
+ "key": "cmd+e",
+ "command": "workbench.view.explorer"
+ },
+ {
+ "key": "shift+cmd+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": "listFocus"
+ },
+ {
+ "key": "k",
+ "command": "list.focusUp",
+ "when": "listFocus"
+ },
+ {
+ "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": "shit+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"
+ },
+ {
+ "key": "o",
+ "command": "list.toggleExpand",
+ "when": "listFocus"
+ },
+ {
+ "key": "h",
+ "command": "list.collapse",
+ "when": "listFocus"
+ },
+ {
+ "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+j",
+ "command": "workbench.action.terminal.focus",
+ "when": "!terminalFocus"
+ }
+]