Toggle between terminal and editor in VS Code
By default you can open the integrated terminal with ctrl+`
. But then how do you get back? Overload the same key binding of course!
// Toggle between terminal and editor focus
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus"
},
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
}
Tweet