- 编辑和终端跳转快捷键
{
"key": "ctrl+j",
"command": "workbench.action.focusActiveEditorGroup",
"when": "!terminalFocus"
},
{
"key": "ctrl+k",
"command": "workbench.action.terminal.focus",
"when": "terminalFocus"
}
配置步骤:
Go to: File > Preferences > keyboard shortcuts then in the search-bar search for "focus terminal" select "workbench.action.terminal.focus" and then ctrl + k or press your custom key and then press enter. Similarly, in the search-bar search for "focus active editor group select "workbench.action.focusActiveEditorGroup" and then press ctrl + j or press your custom key and then press enter. 完成上述设置后:
在终端 ctrl + k 到 对焦光标 > 在编码部分上按 ctrl + j 至 对焦光标 ,而不关闭终端