Developer Keyboard Shortcut Reference
The fastest developers barely touch the mouse. This reference covers the shortcuts that matter most — VS Code editing, navigation, debugging, terminal, and Git.
VS Code — Editing
| Shortcut | Action |
|---|---|
| ⌘D | Select next occurrence of word |
| ⌘ShiftK | Delete current line |
| Alt↑ / ↓ | Move line up or down |
| ⌘ShiftL | Select all occurrences of selection |
| ⌘/ | Toggle line comment |
| ⌘ShiftA | Toggle block comment |
| Tab | Indent selection |
| ShiftTab | Outdent selection |
VS Code — Navigation
| Shortcut | Action |
|---|---|
| ⌘P | Quick open file by name |
| ⌘ShiftP | Command palette |
| ⌘G | Go to line number |
| F12 | Go to definition |
| AltF12 | Peek definition |
| ⌘ShiftO | Go to symbol in file |
| ⌘B | Toggle sidebar |
| `⌘ | Toggle integrated terminal |
VS Code — Debugging
| Shortcut | Action |
|---|---|
| F5 | Start / continue debugging |
| F9 | Toggle breakpoint |
| F10 | Step over |
| F11 | Step into |
| ShiftF11 | Step out |
| ShiftF5 | Stop debugging |
Terminal (zsh / bash)
| Shortcut | Action |
|---|---|
| CtrlA | Move cursor to start of line |
| CtrlE | Move cursor to end of line |
| CtrlR | Reverse search command history |
| CtrlL | Clear terminal screen |
| CtrlC | Cancel current command |
| CtrlZ | Suspend current process |
| !! | Repeat last command |
| Tab | Autocomplete path or command |
Git Shortcuts
| Shortcut | Action |
|---|---|
| git st | Status (alias: git status) |
| git co | Checkout (alias for git checkout) |
| git lg | Pretty log graph (custom alias) |
| git diff --cached | Diff staged changes |
| git commit --amend --no-edit | Add to last commit without editing message |
| git reset HEAD~1 | Undo last commit, keep changes staged |
⏱ Timed Shortcut Quiz
20 shortcuts · 2 minutes · Self-assessed recall. How many do you know without looking?
Test Your Typing Speed
Shortcuts reduce keystrokes, but the keystrokes you do type still need to be fast and accurate. Practice real code to build the muscle memory that complements your shortcut knowledge.
Open typing test →Related tools
Frequently asked questions
Which keyboard shortcuts save developers the most time?
Multi-cursor editing, go to definition, quick open (Ctrl/Cmd+P), command palette (Ctrl/Cmd+Shift+P), and line move/duplicate shortcuts.
How do I learn shortcuts faster?
Learn two or three at a time, use them deliberately for a week, then add more. Quizzes help them stick.
Are VS Code shortcuts the same on Mac and Windows?
Mostly, with Cmd on Mac in place of Ctrl on Windows and Linux; a few differ, especially around word navigation.
Related developer-focused tools
- Code Snippet Typing GeneratorCommon boilerplate snippets for React, Python, TypeScript, Go, and more — ready to type for muscle memory practice.
- LeetCode Typing PracticeClassic algorithm patterns (two pointers, BFS, DFS, sliding window) as typing drills — build both coding speed and pattern recognition.
- Git Commit Message Typing PracticeConventional commit format, good vs bad examples, and a drillable commit message library for developers who live in the terminal.
- Developer Typing Speed BenchmarkRealistic WPM ranges by developer role — junior, senior, staff, and 10x engineer — and what each speed tier means for daily productivity.
- Code Typing Speed Benchmark by LanguageAverage WPM across popular programming languages ranked from easiest to hardest to type, with explanations for why code WPM is lower than prose.
- Programming Productivity CalculatorHow many hours per month do you save by improving your WPM? Enter current speed, target, and daily coding hours to find out.