VS Code shortcuts that actually save time
The VS Code keyboard shortcuts worth memorizing — navigation, editing, multi-cursor, and refactor moves that compound into hours saved.

Editors reward muscle memory. The fastest developers are not smarter; they just never take their hands off the keyboard to hunt through menus. Below are the VS Code shortcuts I use every day, grouped by what they help you do. Learn a few per week and they will become automatic.
Navigation
- `Ctrl/Cmd + P` — Quick open any file by name.
- `Ctrl/Cmd + Shift + P` — Command palette (runs anything).
- `Ctrl/Cmd + T` — Go to symbol across the project.
- `F12` — Go to definition.
- `Alt + F12` — Peek definition (no tab switch).
- `Ctrl/Cmd + G` — Jump to a line number.
- Ctrl/Cmd + backtick key — Split editor.
- `Ctrl + -` / `Ctrl + Shift + -` — Go back / forward through cursor history.
Editing
- `Ctrl/Cmd + D` — Select next occurrence (great for rename-in-place).
- `Ctrl/Cmd + Shift + L` — Select all occurrences of the current word.
- `Alt + Click` — Add multiple cursors.
- `Ctrl/Cmd + Alt + Arrow` — Add a cursor above/below.
- `Ctrl/Cmd + /` — Toggle line comment.
- `Alt + Arrow` — Move the current line up/down.
- `Shift + Alt + Arrow` — Copy the line up/down.
- `Ctrl/Cmd + Enter` — Insert a line below without moving the cursor.
Refactoring
- `F2` — Rename symbol across the project.
- `Ctrl/Cmd + .` — Quick fix / show refactoring actions.
- `Ctrl/Cmd + K, Ctrl/Cmd + F` — Format the selection.
- `Ctrl/Cmd + K, Ctrl/Cmd + S` — Open the full keyboard shortcuts reference.
Terminal & panes
- Ctrl/Cmd + backtick key — Toggle the integrated terminal.
- `Ctrl/Cmd + B` — Toggle the sidebar.
- `Ctrl/Cmd + J` — Toggle the panel (terminal, problems, output).
Build a habit
Don't try to memorize all of them. Pick the three you'd use most this week:
1. Ctrl/Cmd + P for opening files.
2. Ctrl/Cmd + D for multi-edit renames.
3. F12 for jumping to definitions.
Once those are reflex, add three more. Within a month your editing speed will feel completely different, and you'll rarely touch the mouse while coding.