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
7 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.
Does this page include Windows and Mac shortcuts for VS Code?
Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Show Command Palette is Ctrl+Shift+P on Windows and ⌘⇧P on macOS where available.