The Top 20 VS Code Keyboard Shortcuts – Speed Up Your Workflow
Visual Studio Code is one of the most popular code editors in the world, known for its speed, simplicity, and customization. But even the most powerful editor is only as fast as your ability to control it — and that’s where keyboard shortcuts shine.
Below is a handpicked list of the 20 most useful VS Code keyboard shortcuts for both Windows and macOS users, categorized to help you navigate, edit, and code faster than ever.
| # | Category | Command (Windows) | Command (macOS) | Purpose |
|---|---|---|---|---|
| 1 | Essentials | | | Copy selected text |
| 2 | | | Paste copied/cut content | |
| 3 | | | Cut selected text | |
| 4 | | | Undo last action | |
| 5 | | | Redo last undo | |
| 6 | Navigation | | | Quick file navigation (Go to file) |
| 7 | | | Go to symbol in file | |
| 8 | | | Go to specific line | |
| 9 | | | Switch between open files | |
| 10 | Editing | | | Move line up or down |
| 11 | | | Copy line down | |
| 12 | | | Toggle line comment | |
| 13 | | | Toggle block comment | |
| 14 | Search | | | Find in file |
| 15 | | | Replace in file | |
| 16 | Terminal | | | Show/Hide integrated terminal |
| 17 | Interface | | | Toggle sidebar visibility |
| 18 | | | Focus on Explorer view | |
| 19 | Multi-cursor | | | Insert additional cursor |
| 20 | | | Select next occurrence of word |