Let’s say you’re using the Editor and the Terminal at the same time.
To Switch between them, you need to click, which isn’t the quickest nor the most efficient method.
That’s why in this article, I’ll show you how to switch between the Editor and the Terminal using keyboard shortcuts.
Related Articles
Prefer a video guide instead? Check this out:
Set up the keybindings
Open the keybindings.json
file usually located at C:\Users\
Every keybind we define here will override the default ones. So keep this in mind.
Paste this code into keybindings.json
file:
The settings are pretty straightforward, but let’s go through them anyway:
The command workbench.action.terminal.focus
is used to select the Terminal with CTRL
+ R
+ (Arrow) Down
Similarly, the command workbench.action.focusActiveEditorGroup
is used to select the Editor with CTRL
+ (Arrow) Up
only when the Terminal is focused.
It goes without saying that you can use any other keybindings as you prefer.