Show Menu
Cheatography

VSCode - MF Keyboard Shortcuts (DRAFT) by

Shortcuts for navigating within VS Code without the mouse.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Cursor

Go to last edit
⌘K ⌘Q
Go Back
⌃-
Go Forward
⇧⌃-

Symbols

Got to definition
F12
Go to references
⇧F12

Editor

Move line up/down
⌥ ↑/↓
Copy line up/down
⇧⌥ ↑/↓
Move by word
⌥ ←/→
Move by word (Camel­Case)
⌃⌥ ←/→
Find next occurrence
⇧⌘D
Move to beginn­ing/end of line
⌘ ←/→
Move to beginn­ing/end of file
⌘ ↑/↓
Expand­/reduce selection scope
⇧⌃⌘ ←/→
When a line is wrapped, hit ⌘→ once for the visual end of line, and a second time for actual end of line.
 

Via Command Palette (⌘P)

Go to Line
:<n­um>
Go to Line & Column
:<n­um>­:<n­um>
Go to Symbol
(in current file)
@<t­ext>
Got to Symbol
(grouped by type)
@:<­tex­t>
Go to Symbol
(in workspace)
#<t­ext>
Find text
%<t­ext>

Quick Select

Select inside either quote
⌘K ⇧,
Select inside double quote
⌘K ⇧2
Select inside single quote
⌘K ⇧#
Select inside parent­hesis
⌘K ⇧9
Select inside curly brackets
⌘K ⌃⌥8
Select inside back ticks
⌘K ⇧'
Select inside square brackets
⌘K ⌃⌥5
Select inside tag
⌘K ⇧<
Select outside curly brackets
⌘K ⌃⌥9
Select outside parent­hesis
⌘K ⇧0
Select outside square brackets
⌘K ⌃⌥6
Switch Quotes
⌘K ⇧.
 

Files

Switch Tabs
⌃TAB
Open File w/ name
(fuzzy search)
⌘P
Go to Symbol
(workspace)
⌘T
Prev/Next Tab
⌥⌘ ←/→