Short and fast keystrokes that the power user lies within.
General
| Action | Keystroke |
| Show Command Palette | ⇧ + ⌘ + P | F1 |
| Quick Open, Go to File | ⌘ + P |
| New window / instance | ⇧ + ⌘ + N |
| Close window / instance | ⌘ + W |
| User Settings | ⌘ + , |
| Keyboard Shortcuts | ⌘ + K ⌘ + S |
Basic Editing
| Action | Keystroke |
| Cut line (empty selection) | ⌘ + X |
| Copy line (empty selection) | ⌘ + C |
| Move line down / up | ⇧ + ⌥ + ↓ / ⇧ + ⌥ + ↑ |
| Copy line down / up | ⇧ + ⌥ + ↓ / ⇧ + ⌥ + ↑ |
| Delete line | ⇧ + ⌘ + K |
| Insert line below / above | ⌘ + ↩ / ⇧ + ⌘ + ↩ |
| Jump to matching bracket | ⇧ + ⌘ + \ |
| Indent / outdent line | ⌘ + ] / ⌘ + [ |
| Go to begining / end of line | Home / End |
| Go to begining / end of file | ⌘ + ↑ / ⌘ + ↓ |
| Scroll line up / down | ⌃ + PgUp / ⌃ + PgDn |
| Scroll page up / down | ⌘ + PgUp / ⌘ + PgDn |
| Fold / unfold region | ⌥ + ⌘ + [ / ⌥ + ⌘ + ] |
| Fold all subregions | ⌘ + K ⌘ + [ |
| Unfold all subregions | ⌘ + K ⌘ + ] |
| Fold all regions | ⌘ + K ⌘ + 0 |
| Unfold all regions | ⌘ + K ⌘ + J |
| Add line comment | ⌘ + K ⌘ + C |
| Remove line comment | ⌘ + K ⌘ + U |
| Toggle line comment | ⌘ + / |
| Toggle block comment | ⇧ + ⌥ + A |
| Toggle word wrap | ⌥ + Z |
Multi-cursor and selection
| Action | Keystroke |
| Insert cursor | ⌥ + click |
| 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 |
| Expand selection | ⌃ + ⇧ + ⌘ + → |
| Shrink selection | ⌃ + ⇧ + ⌘ + ← |
| Column (box) selection | ⇧ + ⌥ + drag mouse |
| Column (box) selection up | ⇧ + ⌥ + ⌘ + ↑ |
| Column (box) selection down | ⇧ + ⌥ + ⌘ + ↓ |
| Column (box) selection left | ⇧ + ⌥ + ⌘ + ← |
| Column (box) selection right | ⇧ + ⌥ + ⌘ + → |
| Column (box) selection page up | ⇧ + ⌥ + ⌘ + PgUp |
| Column (box) selection page down | ⇧ + ⌥ + ⌘ + PgDn |
Search and Replace
| Action | Keystroke |
| Find | ⌘ + F |
| Replace | ⌥ + ⌘ + F |
| Find next | ⌘ + G |
| Find previous | ⇧ + ⌘ + G |
| Select all occurrences of Find match | ⌥ + ↩ |
| Add selection to next Find match | ⌘ + D |
| Move last selection to next Find match | ⌘ + K ⌘ + D |
Rich langauges editing
| Action | Keystroke |
| Find | ⌘ + F |
| Replace | ⌥ + ⌘ + F |
| Find next | ⌘ + G |
| Find previous | ⇧ + ⌘ + G |
| Select all occurrences of Find match | ⌥ + ↩ |
| Add selection to next Find match | ⌘ + D |
| Move last selection to next Find match | ⌘ + K ⌘ + D |
Navigation
| Action | Keystroke |
| Show all Symbols | ⌘ + T |
| Go to line | ⌃ + G |
| Go to file | ⌘ + P |
| Go to Symbol | ⇧ + ⌘ + O |
| Show Problems panel | ⇧ + ⌘ + M |
| Go to next / previous error or warning | F8 / ⇧ + F8 |
| Navigate editor group history | ⌃ + ⇧ + ⇥ |
| Go back | ⌃ + - |
| Go forward | ⌃ + ⇧ + - |
| Toggle Tab moves focus | ⌃ + ⇧ + M |
Editor management
| Action | Keystroke |
| Close editor | ⌘ + W |
| Close folder | ⌘ + K F |
| Split editor | ⌘ + \ |
| Focus into 1st, 2nd, 3rd editor group | ⌘ + 1 / ⌘ + 2 / ⌘ + 3 |
| Focus into previous editor group | ⌘ + K ⌘ + ← |
| Focus into next editor group | ⌘ + K ⌘ + → |
| Move editor left | ⌘ + K ⇧ + ⌘ + ← |
| Move editor right | ⌘ + K ⇧ + ⌘ + → |
| Move active editor group left | ⌘ + K ← |
| Move active editor group right | ⌘ + K → |
File management
| Action | Keystroke |
| New File | ⌘ + N |
| Open File | ⌘ + O |
| Save | ⌘ + S |
| Save As | ⇧ + ⌘ + S |
| Save All | ⌥ + ⌘ + S |
| Close | ⌘ + W |
| Close All | ⌘ + K ⌘ + W |
| Reopen closed editor | ⇧ + ⌘ + T |
| Keep preview mode editor open | ⌘ + K ↩ |
| Open next | ⌃ + ⇥ |
| Open previous | ⌃ + ⇧ + ⇥ |
| Copy path of active file | ⌘ + K P |
| Reveal active file in Explorer | ⌘ + K R |
| Show active file in new window / instance | ⌘ + K O |
Display
| Action | Keystroke |
| Toggle full screen | ⌃ + ⌘ + F |
| Toggle editor layout (horizontal / vertical) | ⌥ + ⌘ + 0 |
| Zoom in | ⌘ + = |
| Zoom out | ⇧ + ⌘ + - |
| Toggle Sidebar visibility | ⌘ + B |
| Show Explorer / Toggle focus | ⇧ + ⌘ + E |
| Show Search | ⇧ + ⌘ + F |
| Show Source Control | ⌃ + ⇧ + G |
| Show Debug | ⇧ + ⌘ + D |
| Show Extensions | ⇧ + ⌘ + X |
| Replace in files | ⇧ + ⌘ + H |
| Toggle Search details | ⇧ + ⌘ + J |
| Show Output panel | ⇧ + ⌘ + U |
| Open Markdown preview | ⇧ + ⌘ + V |
| Open Markdown preview to the side | ⌘ + K V |
| Zen Mode (Esc Esc to exit) | ⌘ + K Z |
Debug
| Action | Keystroke |
| Toggle breakpoint | F9 |
| Start / Continue | F5 |
| Step into / out | F11 | ⇧ + F11 |
| Step over | F10 |
| Stop | ⇧ + F5 |
| Toggle breakpoint | ⌘ + F8 |
| Show hover | ⌘ + K ⌘ + I |
Integrated terminal
| Action | Keystroke |
| Show integrated terminal | ⌃ + ` |
| Create new terminal | ⌃ + ⇧ + ` |
| Copy selection | ⌘ + C |
| Scroll up / down | ⌘ + ↑ / ⌘ + ↓ |
| Scroll page up / page down | PgUp / PgDn |
| Scroll to top / bottom | ⌘ + Home / ⌘ + End |