Created
May 23, 2021 13:25
-
-
Save henriqgoncalvs/1aff66498f65d0df8f2803fbb3c780f9 to your computer and use it in GitHub Desktop.
VSCode Keybindings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+[Quote]", | |
"command": "workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "-workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "ctrl+shift+[Quote]", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+`", | |
"command": "-workbench.action.terminal.new", | |
"when": "terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "workbench.view.debug", | |
"when": "viewContainer.workbench.view.debug.enabled" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "-workbench.view.debug", | |
"when": "viewContainer.workbench.view.debug.enabled" | |
}, | |
{ | |
"key": "ctrl+alt+d", | |
"command": "workbench.action.terminal.split", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "-workbench.action.terminal.split", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+alt+d", | |
"command": "workbench.action.terminal.splitInstance", | |
"when": "terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+shift+5", | |
"command": "-workbench.action.terminal.splitInstance", | |
"when": "terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.terminal.kill", | |
"when": "terminalIsOpen && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "workbench.action.quickOpenTerm" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.insertCursorAbove", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-notebook.cell.copyUp", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.insertCursorBelow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-notebook.cell.copyDown", | |
"when": "notebookEditorFocused && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "-workbench.action.focusFourthEditorGroup" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "editor.action.insertCursorAtEndOfEachLineSelected", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+i", | |
"command": "-editor.action.insertCursorAtEndOfEachLineSelected", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "-workbench.action.moveEditorToNextGroup" | |
}, | |
{ | |
"key": "ctrl+alt+left", | |
"command": "-workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "-workbench.action.terminal.resizePaneRight", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "-cursorWordEndRightSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "-workbench.action.terminal.resizePaneLeft", | |
"when": "terminalFocus && terminalProcessSupported" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "-cursorWordLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "cursorWordLeftSelect" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "cursorWordRightSelect" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "cursorEnd", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "end", | |
"command": "-cursorEnd", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+alt+left", | |
"command": "cursorHome", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "home", | |
"command": "-cursorHome", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+right", | |
"command": "cursorEndSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+end", | |
"command": "-cursorEndSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+left", | |
"command": "cursorHomeSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+home", | |
"command": "-cursorHomeSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+]", | |
"command": "-editor.action.indentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+[", | |
"command": "-editor.action.outdentLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+[", | |
"command": "spaceBlockJumper.moveUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+]", | |
"command": "spaceBlockJumper.moveDown" | |
}, | |
{ | |
"key": "ctrl+shift+[", | |
"command": "-editor.fold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+[", | |
"command": "-notebook.fold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "ctrl+shift+[", | |
"command": "spaceBlockJumper.selectUp", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+]", | |
"command": "-notebook.unfold", | |
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'" | |
}, | |
{ | |
"key": "ctrl+shift+]", | |
"command": "-editor.unfold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+]", | |
"command": "spaceBlockJumper.selectDown", | |
"when": "textInputFocus" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment