Start with frequent tasks
Learn the commands you use every hour: search, save, switch tabs, copy, paste, undo, and open command menus.
Productivity Reference
Practical Notes
Learn the commands you use every hour: search, save, switch tabs, copy, paste, undo, and open command menus.
The same action may use Ctrl on Windows or Linux and Command on macOS.
Shortcuts stick faster when you use them during real work instead of reading a list once.
| Shortcut | Application | Action |
|---|---|---|
| Ctrl+X | MS VSCode | Cut line (empty selection) |
| Ctrl+Shift+K | MS VSCode | Delete line |
| Shift+Alt+→ | MS VSCode | Expand selection |
| Ctrl+F | MS VSCode | Find |
| F3orShift+F3 | MS VSCode | Find next/previous |
| Ctrl+1or2or3 | MS VSCode | Focus into 1st, 2nd or 3rd editor group |
| Ctrl+KthenCtrl+0 | MS VSCode | Fold (collapse) all regions |
| Ctrl+KthenCtrl+[ | MS VSCode | Fold (collapse) all subregions |
| Ctrl+Shift+[ | MS VSCode | Fold (collapse) region |
| Shift+Alt+F | MS VSCode | Format document |
| Ctrl+KthenCtrl+F | MS VSCode | Format selection |
| Alt+←or→ | MS VSCode | Go back / forward |
| Ctrl+Home | MS VSCode | Go to beginning of file |
| HomeorEnd | MS VSCode | Go to beginning/end of line |
| F12 | MS VSCode | Go to Definition |
| Ctrl+End | MS VSCode | Go to end of file |
| Ctrl+P | MS VSCode | Go to File... |
| Ctrl+G | MS VSCode | Go to Line... |
| F8 | MS VSCode | Go to next error or warning |
| Shift+F8 | MS VSCode | Go to previous error or warning |
| Ctrl+Shift+O | MS VSCode | Go to Symbol... |
| Ctrl+]or[ | MS VSCode | Indent/outdent line |
| Alt+Click | MS VSCode | Insert cursor |
| Ctrl+Alt+↑or↓ | MS VSCode | Insert cursor above / below |
| Shift+Alt+I | MS VSCode | Insert cursor at end of each line selected |
| Ctrl+Shift+Enter | MS VSCode | Insert line above |
| Ctrl+Enter | MS VSCode | Insert line below |
| Ctrl+Shift+\ | MS VSCode | Jump to matching bracket |
| Ctrl+KthenEnter | MS VSCode | Keep preview mode editor open |
| Ctrl+KthenCtrl+S | MS VSCode | Keyboard Shortcuts |
| Ctrl+K+←or→ | MS VSCode | Move active editor group |
| Ctrl+Shift+PgUporPgDn | MS VSCode | Move editor left/right |
| Ctrl+KthenCtrl+←or→ | MS VSCode | Move into previous editor group |
| Ctrl+K Ctrl+D | MS VSCode | Move last selection to next Find match |
| Alt+↑or↓ | MS VSCode | Move line up/down |
| Ctrl+Shift+Tab | MS VSCode | Navigate editor group history |
| Ctrl+N | MS VSCode | New File |
| Ctrl+Shift+N | MS VSCode | New window/instance |
| Ctrl+KthenF12 | MS VSCode | Open Definition to the side |
| Ctrl+O | MS VSCode | Open File... |
| Ctrl+Shift+V | MS VSCode | Open Markdown preview |
| Ctrl+KthenV | MS VSCode | Open Markdown preview to the side |
| Ctrl+Tab | MS VSCode | Open next |
| Ctrl+Shift+Tab | MS VSCode | Open previous |
| Ctrl+V | MS VSCode | Paste into active terminal |
| Alt+F12 | MS VSCode | Peek Definition |
| Ctrl+. | MS VSCode | Quick Fix |
| Ctrl+P | MS VSCode | Quick Open, Go to File… |
| Ctrl+KthenCtrl+U | MS VSCode | Remove line comment |
| F2 | MS VSCode | Rename Symbol |