// go from editor to terminal
{
"key": "ctrl+j",
"command": "workbench.action.createTerminalEditorSide",
// "command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
},
// go from terminal to editor
{
"key": "ctrl+j",
"command": "workbench.action.focusFirstEditorGroup",
"when": "terminalFocus"
},
// prevent from going to panel at no focus
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
// "command": "workbench.action.focusFirstEditorGroup"
},
// move in tab
{
"key": "ctrl+h",
"command": "workbench.action.previousEditorInGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+l",
"command": "workbench.action.nextEditorInGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+d",
"command": "workbench.action.terminal.killEditor"
},