VS Code: Quickly Move Focus between Code File and Terminal

Updated: June 11, 2022 By: A Goodman Post a comment

In VS Code (Visual Studio Code), you can quickly and conveniently jump between the code editor and the integrated terminal by using the following shortcuts:

  • Mac:
    • To focus the terminal: Ctrl + ` (the key near the ESC key)
    • To focus the editor: Ctrl + 1
  • Windows:
    • To focus the terminal: Ctrl + ` (the key near the ESC key)
    • To focus the editor: Ctrl + 1

Demo:

Note: If you’re using Safari, this demo video might not work nicely or not start at all. Please use Chrome, Edge, Firefox, or another web browser instead.

Further reading:

You can also check out our Visual Studio Code topic page for more tips and tricks to improve your producibility and coding experience.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Related Articles