Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

VS Code Switch between Editor and Terminal

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.

Prefer a video guide instead? Check this out:


Set up the keybindings

Open the keybindings.json file usually located at C:\Users\\AppData\Roaming\Code\User\keybindings.json

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.



This post first appeared on Neutron Dev, please read the originial post: here

Share the post

VS Code Switch between Editor and Terminal

×

Subscribe to Neutron Dev

Get updates delivered right to your inbox!

Thank you for your subscription

×