Skip to main content
Ganesh Joshi
Back to Cheatsheets

VS Code shortcuts

Updated 2026-02-15

Editor shortcuts: multi-cursor, search, refactor, terminal, and file navigation. Windows and Mac.

Editing

  • Ctrl+Shift+P / Cmd+Shift+P

    Command palette.

  • Ctrl+D / Cmd+D

    Select next occurrence.

  • Ctrl+Shift+L

    Select all occurrences.

  • Alt+Up/Down

    Move line.

  • Ctrl+Shift+K

    Delete line.

Search and nav

  • Ctrl+P / Cmd+P

    Quick open file.

  • Ctrl+Shift+F

    Search in workspace.

  • Ctrl+`

    Toggle terminal.

  • Ctrl+B

    Toggle sidebar.

VS Code shortcuts | Cheatsheet | Ganesh Joshi