How can I switch focus between the various parts of vscode with the keyboard?

Viewed 754

For example, how to switch between the Explorer and the Editors, or between the Editors and the Terminal?

2 Answers

You can use the short cuts:

  • Ctrl+0 : go to Explorer
  • Ctrl+1 : go to Editor Group 1
  • Ctrl+2 : go to Editor Group 2
  • ....
  • Ctrl+9 : go to Editor Group 9

Press Ctrl+Shift+P to bring up the command palette and search for Focus. There are several commands to switch the focus, e.g. View: Focus Active Editor Group or Explorer: Focus on Outline View. You can assign custom keybindings to those.

Related