From 013bccb990ed204cce615fbfa5c086fa4edd5144 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 10 Sep 2020 19:08:20 -0400 Subject: updates --- utils/vscode_config/keybindings.json | 39 +++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) (limited to 'utils/vscode_config/keybindings.json') 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,18 +88,43 @@ { "key": "l", "command": "list.select", - "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" + "when": "!inputFocus" }, { "key": "o", "command": "list.toggleExpand", - "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" + "when": "!inputFocus" }, { "key": "h", "command": "list.collapse", "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", @@ -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" } ] -- cgit v1.2.3