Visual Studio Code Keyboard Shortcuts Reference

Here’s a quick list of some of the most useful Visual Studio Code keyboard bindings. Use them and they’ll soon become muscle memory and make you a faster human. Another option would be to forget about the default VS Code key bindings and use the same bindings as Vim, Atom or Sublime Text if you don’t want to re-learn a whole new set of bindings.

The following is just a small subset of all the available default key bindings. More will be added if there's a demand for it. For the full list of keyboard shortcuts, refer to the official documentation here.

Tip: do a + P on this page 😉

: Command (Ctrl on PC)
: Shift
: Option (Alt)
: Control (Ctrl)

Go to Line


+
G

Quick Open


+
P

Go to Symbol


+

+
O

Problems Panel


+

+
M

Next Error

F8

Previous Error


+
F8

Toggle Sidebar


+
B

See Commands


+

+
P

Search Project


+

+
F

Output Panel


+

+
U

Terminal Panel


+
`

Debug Console


+

+
Y

Full Screen (PC: F11)


+

+
F

Zen Mode


+
K

Z

Exit Zen Mode

Esc

Esc

Delete Line


+

+
K

New Line Below


+
Enter

New Line Above


+

+
Enter

Move Line Down


+

Move Line Up


+

Select Next Match


+
D

Copy Line Down


+

+

Copy Line Up


+

+

Select Matches from Selection


+

+
L

Select Matches from Current Word


+
F2

Select Line


+
I

Format Document


+

+
F

Command Panel


+

+
P

Indent Line


+
]

Outdent Line


+
[

Comment Selection


+
/

Indent Selection


+
]

Outdent Selection


+
[

Insert Cursor Below


+

+

Insert Cursor Above


+

+

End of File


+

Beginning of File


+

Insert Cursor Above


+

+

End of File


+

Collapse


+

+
[

Uncollapse


+

+
]

Replace


+

+
F

Find Next


+
G

Find Previous


+

+
G

Comment Line


+
/
✖ Clear

🕵 Search Results

🔎 Searching...