VS Code Shortcuts
General27
| Command Palette | ⇧⌘P |
| Quick Open File | ⌘P |
| New Window | ⇧⌘N |
| Toggle Sidebar | ⌘B |
| shortcuts.vscode.togglePanel | ⌘J |
| Explorer | ⇧⌘E |
| Search | ⇧⌘F |
| Source Control | ⇧⌘G |
| Run & Debug | ⇧⌘D |
| Extensions | ⇧⌘X |
| Split Editor | ⌘\\ |
| Toggle Terminal | ⌃` |
| Delete Line | ⇧⌘K |
| Move Line Up | ⌥↑ |
| Move Line Down | ⌥↓ |
| Copy Line Up | ⌥⇧↑ |
| Copy Line Down | ⌥⇧↓ |
| Add Next Match | ⌘D |
| Toggle Comment | ⌘/ |
| Find | ⌘F |
| Find and Replace | ⌥⌘F |
| Go to Symbol | ⇧⌘O |
| Go to Line | ⌃G |
| Go to Definition | F12 |
| Go to Matching Bracket | ⇧⌘\\ |
| Close window/instance | ⌘W |
| User Settings | ⌘, |
Basic editing5
| Cut line (empty selection) | ⌘X |
| Copy line (empty selection) | ⌘C |
| Jump to matching bracket | ⇧⌘\\ |
| Toggle block comment | ⌥⇧A |
| Toggle Word Wrap | ⌥Z |
Rich language editing7
| Trigger suggestion | ⌃Space |
| Trigger Parameter Hints | ⇧⌘Space |
| Format Document | ⌥⇧F |
| Peek Definition | ⌥F12 |
| Quick Fix | ⌘. |
| Show References | ⇧F12 |
| Rename Symbol | F2 |
Editor management1
| Split editor | ⌘\\ |
Search and replace1
| Select all occurrences of Find match | ⌥↩ |
Display7
| Toggle full screen | ⌃⌘F |
| Toggle editor layout (horizontal/vertical) | ⌥⌘0 |
| Show Source Control | ⌃⇧G |
| Replace in Files | ⇧⌘H |
| Toggle Search Details | ⇧⌘J |
| Show Output panel | ⇧⌘U |
| Open Markdown preview | ⇧⌘V |
File management6
| New File | ⌘N |
| Open File... | ⌘O |
| Save | ⌘S |
| Save As | ⇧⌘S |
| Save All | ⌥⌘S |
| Reopen Closed Editor | ⇧⌘T |
Debug4
| Toggle Breakpoint | F9 |
| Start/Continue | F5 |
| Step Over | F10 |
| Stop | ⇧F5 |
Integrated terminal1
| Create new terminal | ⌃⇧` |
Multi-cursor selection9
| Insert Cursor Above | ⌥⌘↑ |
| Insert Cursor Below | ⌥⌘↓ |
| Undo last cursor operation | ⌘U |
| Insert cursor at end of each line selected | ⌥⇧I |
| Select current line | ⌘I |
| Select all occurrences of current selection | ⇧⌘L |
| Select all occurrences of current word | ⌘F2 |
| Column (box) selection page up | ⌥⇧⌘Page Up |
| Column (box) selection page down | ⌥⇧⌘Page Down |
Access VS Code shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.
Command Palette⇧⌘P
Quick Open File⌘P
New Window⇧⌘N