marcandrewb
2/27/2018 - 3:05 AM

Visual Code Cheatsheet

Visual Code Cheatsheet

⌘ - Cmd
⌥ - Option
⇧ - Shift

KeyDescription
⌥ F12Peek at definition
⌥ ↓Move line down
⌥ ↑Move line up
⌘ Enterwhen opening a file via quick open (⌘ P): Opens file in new split editor
⌘ BShow/hide sidebar
⌘ ⌥ ←Previous editor tab
⌘ ⌥ →Next editor tab
⌘ K WClose all editor tabs
⌘ ⌥ KToggle Bookmark
⇧ ⌘ KDelete Line
⇧ ⌘ EnterInsert Line above
⌘ DAdd selection to next Find match
fn F2Rename symbol
⌥ ⌘ ↓Insert another cursor on next line (multicursor)
⌥ ⌘ ↑Insert another cursor on previous line (multicursor)
While using the left mouse button inserts another cursor arbitrarily (multicursor)
⇧ ⌥While dragging using the left mouse button allows column (box) selection (multicursor)