Skip to content

Instantly share code, notes, and snippets.

@juanAFernandez
Last active January 27, 2018 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanAFernandez/8db6d941f65c035e04f5bd20083c451b to your computer and use it in GitHub Desktop.
Save juanAFernandez/8db6d941f65c035e04f5bd20083c451b to your computer and use it in GitHub Desktop.
Simple keybindings for VSCode to work easily with terminal when you need constantly change between code and one or more intergrated terminals (using CRTL).
// Add to your keybindings.json
[
// To change between code and terminal.
{
"key": "ctrl+`",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
// To change between terminals.
{
"key": "ctrl+shift+-",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+shift+[Period]",
"command": "workbench.action.terminal.focusPrevious"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment