VS Code Cheat Sheet
A searchable, printable Visual Studio Code reference — keyboard shortcuts for editing, navigation, multi-cursor, search and the terminal. Free.
Command palette & general
9Cmd/Ctrl + Shift + P
Cmd/Ctrl + P
Cmd/Ctrl + Shift + N
Cmd/Ctrl + ,
Cmd/Ctrl + K Cmd/Ctrl + S
Cmd/Ctrl + S
Cmd/Ctrl + Shift + S
Cmd/Ctrl + W
Cmd/Ctrl + Shift + T
Editing
11Cmd/Ctrl + X
Cmd/Ctrl + C
Alt + ↑ / ↓ (Opt on Mac)
Shift + Alt + ↑ / ↓
Cmd/Ctrl + Shift + K
Cmd/Ctrl + Enter
Cmd/Ctrl + Shift + Enter
Cmd/Ctrl + /
Shift + Alt + A
Cmd/Ctrl + ] / [
Cmd/Ctrl + Shift + \
Multi-cursor & selection
9Cmd/Ctrl + D
Cmd/Ctrl + Shift + L
Cmd + Opt + ↑ / ↓ (Mac)
Ctrl + Alt + ↑ / ↓ (Win)
Alt + Click (Opt on Mac)
Cmd/Ctrl + U
Cmd/Ctrl + L
Cmd/Ctrl + Shift + →/←
Shift + Alt + I
Navigation
9Cmd/Ctrl + G
Cmd/Ctrl + Shift + O
Cmd/Ctrl + T
F12 / Cmd/Ctrl + Click
Alt + F12
Cmd/Ctrl + - / Ctrl + -
Cmd/Ctrl + Shift + \
Cmd/Ctrl + 1 / 2 / 3
Ctrl + Tab
Search & replace
9Cmd/Ctrl + F
Cmd/Ctrl + H (Alt+Cmd+F on Mac)
Cmd/Ctrl + Shift + F
Cmd/Ctrl + Shift + H
Enter / Shift + Enter
Alt + Enter
.* toggle
Aa toggle
Cmd/Ctrl + Shift + J
Refactor & code actions
9F2
Cmd/Ctrl + .
Cmd/Ctrl + Shift + R
Shift + Alt + F
Cmd/Ctrl + K Cmd/Ctrl + F
Cmd/Ctrl + Space
Cmd/Ctrl + Shift + Space
Cmd/Ctrl + K Cmd/Ctrl + I
Shift + F12
Integrated terminal
8Ctrl + ` (backtick)
Cmd/Ctrl + Shift + `
Cmd/Ctrl + \ (in terminal)
Cmd/Ctrl + Shift + 5
Alt + Cmd + ←/→ (Mac)
Cmd/Ctrl + C
Cmd/Ctrl + K (focused)
kill icon / trash
Display & layout
10Cmd/Ctrl + B
Cmd/Ctrl + J
Cmd/Ctrl + Shift + E
Cmd/Ctrl + Shift + G
Cmd/Ctrl + Shift + X
Cmd/Ctrl + Shift + D
Cmd/Ctrl + K Z
Cmd/Ctrl + = / -
Cmd/Ctrl + \
Ctrl + Cmd + F (Mac) / F11
No entry matches “:q”.
About VS Code Cheat Sheet
This VS Code cheat sheet is a keyboard-first reference to Visual Studio Code: command palette and general shortcuts, editing, multi-cursor and selection, navigation, search and replace, refactoring and code actions, the integrated terminal, and display and layout controls.
Most rows show the Windows/Linux and macOS keystrokes for one action — moving lines, adding cursors, jumping to a symbol, toggling the terminal — because the editor is dramatically faster once those are in your fingers rather than in a menu.
The sheet is free and client-side. Filter shortcuts live with the search box, jump between sections from the sticky table of contents, copy any binding with one click and print the page — a printed shortcut sheet is the fastest way to break the mouse habit.
How to use VS Code Cheat Sheet
- Open the sheet and skim the sections, from Command palette & general to Display & layout.
- Search for an action like multi-cursor, terminal or rename to filter the shortcuts live.
- Jump to a section such as Navigation or Refactor & code actions via the sticky sidebar.
- Click a shortcut or its copy icon if you want to paste it into notes or documentation.
- Print the sheet and keep it visible until the shortcuts become automatic.