diff options
author | Chris <[email protected]> | 2020-09-10 19:08:20 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-09-10 19:08:20 -0400 |
commit | 013bccb990ed204cce615fbfa5c086fa4edd5144 (patch) | |
tree | 458659a533cd32dc6e1af4636fc911763c1330d8 /utils/vscode_config/keybindings.json | |
parent | 4625145d0278d4a039e55c433af9916d93e7846a (diff) |
updates
Diffstat (limited to 'utils/vscode_config/keybindings.json')
-rw-r--r-- | utils/vscode_config/keybindings.json | 39 |
1 files changed, 34 insertions, 5 deletions
diff --git a/utils/vscode_config/keybindings.json b/utils/vscode_config/keybindings.json index f2c60ec3..c997c8d4 100644 --- a/utils/vscode_config/keybindings.json +++ b/utils/vscode_config/keybindings.json @@ -1,4 +1,3 @@ -// Place your key bindings in this file to override the defaultsauto[] [ { "key": "shift+ctrl+e", @@ -29,12 +28,12 @@ { "key": "j", "command": "list.focusDown", - "when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" + "when": "listFocus && !inputFocus" }, { "key": "k", "command": "list.focusUp", - "when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" + "when": "listFocus && !inputFocus" }, { "key": "ctrl+j", @@ -89,12 +88,12 @@ { "key": "l", "command": "list.select", - "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" + "when": "!inputFocus" }, { "key": "o", "command": "list.toggleExpand", - "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" + "when": "!inputFocus" }, { "key": "h", @@ -102,6 +101,31 @@ "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" }, { + "key": "d", + "command": "deleteFile", + "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" + }, + { + "key": "y", + "command": "filesExplorer.copy", + "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" + }, + { + "key": "x", + "command": "filesExplorer.cut", + "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" + }, + { + "key": "p", + "command": "filesExplorer.paste", + "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" + }, + { + "key": "v", + "command": "explorer.openToSide", + "when": "explorerViewletFocus && explorerViewletVisible && !inputFocus" + }, + { "key": "a", "command": "explorer.newFile", "when": "filesExplorerFocus && !inputFocus" @@ -168,5 +192,10 @@ "key": "ctrl+f", "command": "-vscode-neovim.ctrl-f", "when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'" + }, + { + "key": "shift+delete", + "command": "-deleteFile", + "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" } ] |