Skip to main content
nevstokes.com

Shortcuts

Monday, July 5, 2021

1 minute

It's supposed to be a challenge, it's a shortcut! If it were easy it would just be the way.
— Rubin, Road Trip

This is a reference for the Visual Studio Code keyboard shortcuts I use most regularly.

General
⇧ ⌘ PCommand Palatte
,Settings
⌃ ⌘ FFull screen
Editing
⌥ ⌘ ↑ / ↓Add cursor up / down
⇧ ⌥ IAdd cursor at end of lines in selection
⌥ ↑ / ↓Move line(s)
⇧ ⌥ ↑ / ↓Duplicate line(s)
F2Rename symbol
DAdd next instance to selection
⇧ ⌘ LSelect all instances
Navigation
PSwitch between files
K VOpen preview
1 / 2Focus first / second editor
WClose editor
F12Jump to definition
F12Peek definition
Side Bar
BToggle side bar
⇧ ⌘ EOpen file explorer
⌃ ↩Open file in new editor to the side
⇧ ⌘ F / HSearch / Replace in files
⇧ ⌃ GSource Control
Panel
JToggle panel
`Terminal
⇧ ⌘ MProblems
⇧ ⌘ UOutput

#development  #tooling