Cheat sheet guide
VS Code shortcuts worth learning first
This page collects 81 searchable VS Code keyboard shortcuts across 10 categories. Start with the shortcuts for General, Editing, Multi-cursor & Selection, Search & Replace, then print the cheat sheet once the important ones are worth keeping nearby.
- Show Command PaletteCtrlShiftP
- Cut line (empty selection)CtrlX
- Insert cursor above/belowAltCtrl↑/↓
- FindCtrlF
- Go to lineCtrlG
- Close editorCtrlW
General
6 shortcutsEditing
19 shortcutsMulti-cursor & Selection
7 shortcutsSearch & Replace
8 shortcutsNavigation
9 shortcutsEditor Management
6 shortcutsFile Management
6 shortcutsDisplay
7 shortcutsDebug
7 shortcutsIntegrated Terminal
5 shortcutsFrequently asked questions
What is the fastest way to find VS Code shortcuts on this page?
Use the search box or press /, then type an action such as show command palette.
Can I print this VS Code shortcut cheat sheet?
Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.
Which operating systems are included for VS Code?
This reference includes shortcuts for Windows · macOS · Linux. Availability depends on the action and app version.
See also
Explore shortcuts by key
Compare shortcuts
VS Code / Cursor · VS Code / Sublime Text · VS Code / Vim · VS Code / Zed