Visual Code Cheatsheet
⌘ - Cmd
⌥ - Option
⇧ - Shift
Key | Description |
---|---|
⌥ F12 | Peek at definition |
⌥ ↓ | Move line down |
⌥ ↑ | Move line up |
⌘ Enter | when opening a file via quick open (⌘ P): Opens file in new split editor |
⌘ B | Show/hide sidebar |
⌘ ⌥ ← | Previous editor tab |
⌘ ⌥ → | Next editor tab |
⌘ K W | Close all editor tabs |
⌘ ⌥ K | Toggle Bookmark |
⇧ ⌘ K | Delete Line |
⇧ ⌘ Enter | Insert Line above |
⌘ D | Add selection to next Find match |
fn F2 | Rename 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) |