Created
February 13, 2018 14:18
-
-
Save rosswintle/30f198a64bd0c606c28c5f160229088f to your computer and use it in GitHub Desktop.
Better terminal toggling keybindings in VS Code
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
[ | |
// Focus/unfocus terminal with ctrl+` and toggle it with ctrl+shift+` | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.terminal.focus", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+`", | |
"command": "workbench.action.terminal.toggleTerminal", | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note - VS Code doesn't seem to mind comments in the keybindings JSON even though they're not officially allowed by the JSON spec.