Mac: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
Windows: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
Linux: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf
- ⌘ is the Command () key
- ⌃ is the Control key
- ⌥ is the Option (alt) key
- ⇧ is the Shift key
- Move line down/up
⌥↓ / ⌥↑
(opt + arrow
) - Copy line down/up
⇧⌥↓ / ⇧⌥↑
(shift + opt + arrow
) - Delete line
⇧⌘K
(shift + cmd + K
) - Go to beginning/end of line
Home / End
ORcmd + arrow
- Insert (multiple) cursors
⌥ + click
(opt + click
)
- Find
⌘F
(cmd + F
) - Highlight next match
⌘D
(cmd + D
)
- Go to File by name
⌘P
(cmd + P
)
- Close editor/ file
⌘W
(cmd + W
)
- Save
⌘S
(cmd + S
) - Save All
⌥⌘S
(opt + cmd + S
) - Close editor/ file
⌘W
(cmd + W
)
- Directory Search
⇧⌘F
(shift + cmd + F
) - Open Markdown preview
⇧⌘V
(shift + cmd + V
) - Open Markdown preview to the side
⌘K V
(cmd + K + V
)