Shortcuts
This is a reference for the Visual Studio Code keyboard shortcuts I use most regularly.
General | |
---|---|
⇧ ⌘ P | Command Palatte |
⌘ , | Settings |
⌃ ⌘ F | Full screen |
Editing | |
⌥ ⌘ ↑ / ↓ | Add cursor up / down |
⇧ ⌥ I | Add cursor at end of lines in selection |
⌥ ↑ / ↓ | Move line(s) |
⇧ ⌥ ↑ / ↓ | Duplicate line(s) |
F2 | Rename symbol |
⌘ D | Add next instance to selection |
⇧ ⌘ L | Select all instances |
Navigation | |
⌘ P | Switch between files |
⌘ K V | Open preview |
⌘ 1 / 2 | Focus first / second editor |
⌘ W | Close editor |
F12 | Jump to definition |
⌥ F12 | Peek definition |
Side Bar | |
⌘ B | Toggle side bar |
⇧ ⌘ E | Open file explorer |
⌃ ↩ | Open file in new editor to the side |
⇧ ⌘ F / H | Search / Replace in files |
⇧ ⌃ G | Source Control |
Panel | |
⌘ J | Toggle panel |
⌃ ` | Terminal |
⇧ ⌘ M | Problems |
⇧ ⌘ U | Output |