diff options
author | Chris <[email protected]> | 2020-09-06 02:44:25 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-09-06 02:44:25 -0400 |
commit | 4625145d0278d4a039e55c433af9916d93e7846a (patch) | |
tree | f812d77b31da086f385016bd180d79a228b91b0c /utils/vscode_config/keybindings.json | |
parent | 73d89f8ca7b127fa49b69ea618df9318711e8876 (diff) |
update vscode settings
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'" } ] |