vscode hotkey switch to terminal code example
Example 1: vscode change focus to terminal
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus"},
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"}
Example 2: shortcut key for switch between editor and terminal vs code
{
"key": "ctrl+j",
"command": "workbench.action.focusActiveEditorGroup",
"when": "!terminalFocus"
},
{
"key": "ctrl+k",
"command": "workbench.action.terminal.focus",
"when": "terminalFocus"
}