Created
October 19, 2018 20:42
-
-
Save ivanoats/99f6cf17a47f442b8dd0c551d16d6792 to your computer and use it in GitHub Desktop.
Visual Studio Code Keyboard Shortcuts customization
This file contains 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 overwrite the defaults | |
[ | |
{ | |
"key": "f1", | |
"command": "extension.dash.specific", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+cmd+r", | |
"command": "workbench.action.tasks.runTask", | |
"args": "start:dev", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+left", | |
"command": "-workbench.action.terminal.moveToLineStart", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+right", | |
"command": "-workbench.action.terminal.moveToLineEnd", | |
"when": "terminalFocus" | |
} | |
// Toggle between terminal and editor focus | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.terminal.focus" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd-k cmd-k", | |
"command": "workbench.action.terminal.clear", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key":"ctrl+k", | |
"command": "deleteAllRight", | |
"when": "editorTextFocus && !editorReadonly" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment