Essential navigation shortcuts

VS Code has a keyboard shortcut for virtually anything that you can do with a mouse. The more of these that you can use, the faster you will be. In addition to the 5 core keyboard shortcuts from the start of this workshop, these are the essential keyboard shortcuts for navigating around the editor without a mouse.

Action

Shortcut

Jump to previous file

Cmd/Ctrl + P + P

Set focus to Sidebar

Cmd/Ctrl + 0

Set focus to Editor

Cmd/Ctrl + 1

Open Explorer View

Cmd/Ctrl + Shift + E

Open Debug View

Cmd/Ctrl + Shift + D

Open Source Control View

Ctrl + Shift + G

Open Extensions View

Cmd/Ctrl + Shift + X