The most useful VS Code keyboard shortcuts, organized by what you actually do.
| Cmd+Shift+P | Command Palette |
| Cmd+P | Quick Open file |
| Cmd+, | Open Settings |
| Cmd+K Cmd+S | Keyboard Shortcuts |
| Cmd+` | Toggle terminal |
| Cmd+X | Cut line (empty selection) |
| Cmd+C | Copy line (empty selection) |
| Cmd+Shift+K | Delete line |
| Cmd+Enter | Insert line below |
| Cmd+Shift+Enter | Insert line above |
| Option+Up | Move line up |
| Option+Down | Move line down |
| Option+Shift+Up | Copy line up |
| Option+Shift+Down | Copy line down |
| Cmd+D | Select next occurrence |
| Cmd+Shift+L | Select all occurrences |
| Cmd+/ | Toggle line comment |
| Cmd+Shift+A | Toggle block comment |
| Option+Shift+F | Format document |
| Cmd+] | Indent line |
| Cmd+[ | Outdent line |
| Cmd+Z | Undo |
| Cmd+Shift+Z | Redo |
| Cmd+G | Go to line |
| Ctrl+G | Go to line (alternative) |
| Cmd+P | Go to file |
| Cmd+Shift+O | Go to symbol in file |
| Cmd+T | Go to symbol in workspace |
| Ctrl+- | Go back |
| Ctrl+Shift+- | Go forward |
| Cmd+Shift+M | Show problems panel |
| F8 | Go to next problem |
| Cmd+Shift+E | Focus file explorer |
| Cmd+F | Find in file |
| Cmd+H | Replace in file |
| Cmd+Shift+F | Search across files |
| Cmd+Shift+H | Replace across files |
| Cmd+G | Find next |
| Cmd+Shift+G | Find previous |
| Option+Enter | Select all matches (in find) |
| Option+Click | Add cursor at click |
| Cmd+Option+Up | Add cursor above |
| Cmd+Option+Down | Add cursor below |
| Cmd+U | Undo last cursor |
| Cmd+L | Select current line |
| Cmd+` | Toggle terminal panel |
| Ctrl+Shift+` | New terminal instance |
| Cmd+Shift+[ | Focus previous terminal |
| Cmd+Shift+] | Focus next terminal |
| Cmd+C | Copy selection in terminal |
| Cmd+V | Paste into terminal |
| F5 | Start / Continue debugging |
| Shift+F5 | Stop debugging |
| F9 | Toggle breakpoint |
| F10 | Step over |
| F11 | Step into |
| Shift+F11 | Step out |
| Cmd+Shift+D | Open debug panel |
| Cmd+\ | Split editor |
| Cmd+1 | Focus first editor group |
| Cmd+2 | Focus second editor group |
| Cmd+W | Close editor tab |
| Cmd+K W | Close all tabs |
| Cmd+Shift+T | Reopen closed editor |
| Cmd+B | Toggle sidebar |