diff options
Diffstat (limited to 'utils/vscode_config/keybindings.json')
-rw-r--r-- | utils/vscode_config/keybindings.json | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/utils/vscode_config/keybindings.json b/utils/vscode_config/keybindings.json index a1b5c7ff..f2c60ec3 100644 --- a/utils/vscode_config/keybindings.json +++ b/utils/vscode_config/keybindings.json @@ -29,12 +29,12 @@ { "key": "j", "command": "list.focusDown", - "when": "listFocus" + "when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "k", "command": "list.focusUp", - "when": "listFocus" + "when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" }, { "key": "ctrl+j", @@ -68,6 +68,11 @@ }, { "key": "shift+tab", + "command": "selectPrevSuggestion", + "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" + }, + { + "key": "shift+tab", "command": "workbench.action.quickOpenNavigatePrevious", "when": "inQuickOpen" }, @@ -84,17 +89,17 @@ { "key": "l", "command": "list.select", - "when": "explorerViewletVisible && filesExplorerFocus" + "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" }, { "key": "o", "command": "list.toggleExpand", - "when": "listFocus" + "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" }, { "key": "h", "command": "list.collapse", - "when": "listFocus" + "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" }, { "key": "a", @@ -143,5 +148,25 @@ { "key": "ctrl+j", "command": "-workbench.action.togglePanel" + }, + { + "key": "shift+k", + "command": "editor.action.showHover", + "when": "editorTextFocus" + }, + { + "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'" } ] |