Skip to main content

VSCode Shortcuts (mac)

VSCode shortcuts which I use every day but still forget from time to time

General

Show Command Palette:

⇧⌘P

Quick Open File / Go to File:

⌘P

Open User Settings:

⌘,

Close Tab:

⌘w

Close All Tabs:

⌘kw

Toggle Sidebar:

⌘B

Show Explorer:

⇧⌘E

Show Search:

⇧⌘F

Open Markdown Preview:

⇧⌘V

Editing

Move Line Up / Down:

⇧⌥↑ / ⇧⌥↓

Copy Line Up / Down:

⇧⌥↑ / ⇧⌥↓

Delete Line without Copy:

⇧⌘k

Insert Line Below:

⌘Enter

Insert Line Above:

⇧⌘Enter

Jump To Matching Bracket:

⇧⌘\

Selection & Cursor

Insert Multiple Cursor By Click:

⌥ + click

Insert Cursor Above / Insert Cursor Below:

⌥⌘↑ / ⌥⌘↓

Select Current Line:

⌘L

Select Current Line:

⌘L