shortcut to switch between terminal and editor vscode code example
Example 1: vscode switch between terminal and editor
{ "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"
}