🪴 XQZmeSIR

Home

❯

learning programming

❯

How to switch the cursor between terminal and code in VSCode?

How to switch the cursor between terminal and code in VSCode?

Sep 22, 20241 min read

  • shortcuts
  • vscode

Generally VS Code uses ctrl+j to open Terminal so I created a keybinding to switch with ctrl+k combination, like below at keybindings.json:

{
    "key": "ctrl+k",
    "command": "workbench.action.terminal.focus"
},
{
    "key": "ctrl+k",
    "command": "workbench.action.focusActiveEditorGroup",
    "when": "terminalFocus"
}

Reference:

  • https://superuser.com/questions/1270103/how-to-switch-the-cursor-between-terminal-and-code-in-vscode

Related:


Graph View

  • Reference:
  • Related:

Backlinks

  • How to Update VS Code on Manjaro Linux

Created with Quartz v4.5.2 © 2026

  • GitHub
  • X(Twitter)
  • Email