VS Code cheat sheet
The VS Code shortcuts on a Mac that save the most time: multiple cursors, moving lines, jumping to symbols, and the panels you keep reaching for with the mouse.
In Snippet Keeper, click Import at the bottom of the sidebar and choose the file. They land in your VS Code app, and ones you already have are skipped. The highlighted parts become fill-in fields: type a value (or pick one), and the finished command is on your clipboard.
General
⌘ ⇧ P
⌘ P
⌘ ,
⌘ K ⌘ S
⌘ B
⌃ `
⌃ ⇧ `
⌘ K Z
Editing
⌥ ↑ / ⌥ ↓
⇧ ⌥ ↓
⌘ ⇧ K
⌘ ↩
⌘ /
⇧ ⌥ A
⌘ ] / ⌘ [
⇧ ⌥ F
⌥ ⌘ [ / ⌥ ⌘ ]
⌃ ⇧ ⌘ →
Multiple cursors
⌥ click
⌘ D
⌘ ⇧ L
⌥ ⌘ ↑ / ⌥ ⌘ ↓
⇧ ⌥ I
⇧ ⌥ drag
Search and refactor
⌘ F
⌥ ⌘ F
⌘ ⇧ F
F2
⌘ .
Editors and panels
⌘ \
⌘ W
⌘ ⇧ T
⇧ ⌘ E
⌃ ⇧ G
⇧ ⌘ M
Command line
code path
code --diff file1 file2
code --install-extension extension
Keep these one keystroke away.
Snippet Keeper is a Mac app for the commands you keep looking up. Press ⌥⇧Space in any app, type a few letters, fill in the blanks, and it’s on your clipboard.