diff options
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" } ] |