Skip to content

Instantly share code, notes, and snippets.

@2niuhe
Last active January 16, 2021 18:22
Show Gist options
  • Save 2niuhe/9e02d747a16e09c4f8d02e3bef738ca2 to your computer and use it in GitHub Desktop.
Save 2niuhe/9e02d747a16e09c4f8d02e3bef738ca2 to your computer and use it in GitHub Desktop.
vscode相关的扩展和配置
  • 编辑和终端跳转快捷键
{
  "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 至 对焦光标 ,而不关闭终端

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment