Kinda Code
Home/VS Code/VS Code: Quickly Move Focus between Code File and Terminal

VS Code: Quickly Move Focus between Code File and Terminal

Last updated: June 11, 2022

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.

Related Articles