All tools
Free

A searchable, printable Visual Studio Code reference — keyboard shortcuts for editing, navigation, multi-cursor, search and the terminal. Free.

Command palette & general

9
Cmd/Ctrl + Shift + P
Command palette (run any command)
Cmd/Ctrl + P
Quick open a file by name
Cmd/Ctrl + Shift + N
New editor window
Cmd/Ctrl + ,
Open settings
Cmd/Ctrl + K Cmd/Ctrl + S
Open keyboard shortcuts
Cmd/Ctrl + S
Save file
Cmd/Ctrl + Shift + S
Save as
Cmd/Ctrl + W
Close editor
Cmd/Ctrl + Shift + T
Reopen the last closed editor

Editing

11
Cmd/Ctrl + X
Cut line (no selection)
Cmd/Ctrl + C
Copy line (no selection)
Alt + ↑ / ↓ (Opt on Mac)
Move line up / down
Shift + Alt + ↑ / ↓
Copy line up / down
Cmd/Ctrl + Shift + K
Delete line
Cmd/Ctrl + Enter
Insert line below
Cmd/Ctrl + Shift + Enter
Insert line above
Cmd/Ctrl + /
Toggle line comment
Shift + Alt + A
Toggle block comment
Cmd/Ctrl + ] / [
Indent / outdent line
Cmd/Ctrl + Shift + \
Jump to matching bracket

Multi-cursor & selection

9
Cmd/Ctrl + D
Select next match of the selection
Cmd/Ctrl + Shift + L
Select all matches at once
Cmd + Opt + ↑ / ↓ (Mac)
Add cursor above / below
Ctrl + Alt + ↑ / ↓ (Win)
Add cursor above / below
Alt + Click (Opt on Mac)
Add a cursor at the click
Cmd/Ctrl + U
Undo the last cursor operation
Cmd/Ctrl + L
Select the current line
Cmd/Ctrl + Shift + →/←
Expand selection by word
Shift + Alt + I
Cursor at end of each selected line

Navigation

9
Cmd/Ctrl + G
Go to line number
Cmd/Ctrl + Shift + O
Go to symbol in file
Cmd/Ctrl + T
Go to symbol in workspace
F12 / Cmd/Ctrl + Click
Go to definition
Alt + F12
Peek definition
Cmd/Ctrl + - / Ctrl + -
Go back to previous location
Cmd/Ctrl + Shift + \
Navigate matching bracket
Cmd/Ctrl + 1 / 2 / 3
Focus editor group 1 / 2 / 3
Ctrl + Tab
Cycle through open editors

Search & replace

9
Cmd/Ctrl + F
Find in file
Cmd/Ctrl + H (Alt+Cmd+F on Mac)
Replace in file
Cmd/Ctrl + Shift + F
Find across files
Cmd/Ctrl + Shift + H
Replace across files
Enter / Shift + Enter
Next / previous match
Alt + Enter
Select all find matches
.* toggle
Enable regular-expression search
Aa toggle
Toggle case-sensitive search
Cmd/Ctrl + Shift + J
Toggle search details / filters

Refactor & code actions

9
F2
Rename symbol
Cmd/Ctrl + .
Quick fix / code actions
Cmd/Ctrl + Shift + R
Refactor menu
Shift + Alt + F
Format document
Cmd/Ctrl + K Cmd/Ctrl + F
Format selection
Cmd/Ctrl + Space
Trigger suggestions / IntelliSense
Cmd/Ctrl + Shift + Space
Trigger parameter hints
Cmd/Ctrl + K Cmd/Ctrl + I
Show hover info
Shift + F12
Find all references

Integrated terminal

8
Ctrl + ` (backtick)
Toggle the terminal panel
Cmd/Ctrl + Shift + `
Create a new terminal
Cmd/Ctrl + \ (in terminal)
Split the terminal
Cmd/Ctrl + Shift + 5
Split the active terminal
Alt + Cmd + ←/→ (Mac)
Focus previous / next terminal
Cmd/Ctrl + C
Copy selection (else interrupt)
Cmd/Ctrl + K (focused)
Clear the terminal
kill icon / trash
Kill the active terminal

Display & layout

10
Cmd/Ctrl + B
Toggle the side bar
Cmd/Ctrl + J
Toggle the bottom panel
Cmd/Ctrl + Shift + E
Show the Explorer
Cmd/Ctrl + Shift + G
Show Source Control
Cmd/Ctrl + Shift + X
Show Extensions
Cmd/Ctrl + Shift + D
Show Run & Debug
Cmd/Ctrl + K Z
Zen mode (distraction free)
Cmd/Ctrl + = / -
Zoom editor in / out
Cmd/Ctrl + \
Split the editor
Ctrl + Cmd + F (Mac) / F11
Toggle full screen

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

  1. Open the sheet and skim the sections, from Command palette & general to Display & layout.
  2. Search for an action like multi-cursor, terminal or rename to filter the shortcuts live.
  3. Jump to a section such as Navigation or Refactor & code actions via the sticky sidebar.
  4. Click a shortcut or its copy icon if you want to paste it into notes or documentation.
  5. Print the sheet and keep it visible until the shortcuts become automatic.

Frequently asked questions

Yes. Bindings are shown for both keyboard conventions, so the sheet works whether you are on Windows, Linux or macOS.

Eight sections: command palette and general, editing, multi-cursor and selection, navigation, search and replace, refactor and code actions, the integrated terminal, and display and layout.

Start with the command palette — it reaches every other command by name — then the navigation and multi-cursor sections, which deliver the biggest day-to-day speedup.

Both. The search box filters every row live with a match counter, and the Print button outputs a clean sheet without the page chrome.

Yes, completely free — a client-side reference with no account required.


Popular searches
vs code cheat sheet vs code keyboard shortcuts vscode shortcuts list vs code multi cursor shortcuts vs code command palette vscode search and replace shortcuts vs code terminal shortcuts vs code navigation shortcuts
Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.