update keybindings.json for vscode

This commit is contained in:
Chris 2021-01-23 18:33:39 -05:00
parent 3c91d94863
commit 68e484ae2a

View file

@ -1,9 +1,4 @@
[
{
"key": "space",
"command": "whichkey.show",
"when": "neovim.mode != 'insert' && !inputFocus"
},
{
"key": "shift+ctrl+e",
"command": "actions.findWithSelection"
@ -33,12 +28,12 @@
{
"key": "j",
"command": "list.focusDown",
"when": "listFocus && !inputFocus"
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "k",
"command": "list.focusUp",
"when": "listFocus && !inputFocus"
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "ctrl+j",
@ -66,7 +61,7 @@
"when": "inQuickOpen"
},
{
"key": "shift+tab",
"key": "shit+tab",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
@ -93,43 +88,18 @@
{
"key": "l",
"command": "list.select",
"when": "!inputFocus"
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "o",
"command": "list.toggleExpand",
"when": "!inputFocus"
"when": "explorerViewletVisible && filesExplorerFocus && !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",
@ -155,6 +125,11 @@
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+t",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "ctrl+j",
"command": "-editor.action.insertLineAfter",
@ -166,7 +141,7 @@
"when": "!terminalFocus"
},
{
"key": "ctrl+t",
"key": "ctrl+shift+t",
"command": "workbench.action.togglePanel"
},
{
@ -176,7 +151,7 @@
{
"key": "shift+k",
"command": "editor.action.showHover",
"when": "editorTextFocus && neovim.mode != 'insert'"
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+i",
@ -192,36 +167,5 @@
"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"
},
{
"key": "shift+escape",
"command": "notebook.cell.quitEdit",
"when": "inputFocus && notebookEditorFocused && !editorHasSelection && !editorHoverVisible"
},
{
"key": "escape",
"command": "-notebook.cell.quitEdit",
"when": "inputFocus && notebookEditorFocused && !editorHasSelection && !editorHoverVisible"
},
{
"key": "ctrl+shift+l",
"command": "workbench.action.increaseViewSize"
},
{
"key": "ctrl+shift+h",
"command": "workbench.action.decreaseViewSize"
},
{
"key": "ctrl+shift+t",
"command": "-workbench.action.reopenClosedEditor"
},
{
"key": "ctrl+shift+t",
"command": "workbench.action.toggleMaximizedPanel"
}
]