← Back to notes

Essential VS Code Shortcuts

ToolsProductivityVS Code

Essential VS Code Shortcuts

Just documenting my most-used VS Code shortcuts for quick reference:

Navigation

  • Cmd+P - Quick file open
  • Cmd+Shift+P - Command palette
  • Ctrl+Tab - Switch between open files
  • Cmd+B - Toggle sidebar

Editing

  • Cmd+D - Select next occurrence
  • Cmd+Shift+L - Select all occurrences
  • Option+Up/Down - Move line up/down
  • Shift+Option+Up/Down - Copy line up/down

Multi-cursor

  • Option+Click - Add cursor
  • Cmd+Option+Up/Down - Add cursor above/below
  • Cmd+U - Undo last cursor

These shortcuts save me countless hours!