From aab483269676a94b0efd84d50f86eb1844b58fa5 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 1 Nov 2020 14:34:42 -0500 Subject: udpate vscode configs --- utils/vscode_config/keybindings.json | 37 ++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) (limited to 'utils/vscode_config/keybindings.json') diff --git a/utils/vscode_config/keybindings.json b/utils/vscode_config/keybindings.json index c997c8d4..2346439f 100644 --- a/utils/vscode_config/keybindings.json +++ b/utils/vscode_config/keybindings.json @@ -61,7 +61,7 @@ "when": "inQuickOpen" }, { - "key": "shit+tab", + "key": "shift+tab", "command": "selectPrevSuggestion", "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" }, @@ -150,11 +150,6 @@ "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 +161,7 @@ "when": "!terminalFocus" }, { - "key": "ctrl+shift+t", + "key": "ctrl+t", "command": "workbench.action.togglePanel" }, { @@ -176,7 +171,7 @@ { "key": "shift+k", "command": "editor.action.showHover", - "when": "editorTextFocus" + "when": "editorTextFocus && neovim.mode != 'insert'" }, { "key": "ctrl+k ctrl+i", @@ -197,5 +192,31 @@ "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" } ] -- cgit v1.2.3