Skip to content

Instantly share code, notes, and snippets.

@marcandrewb
Last active December 30, 2019 15:03
Show Gist options
  • Select an option

  • Save marcandrewb/c61a425fe56e90c22a367deb90e92c55 to your computer and use it in GitHub Desktop.

Select an option

Save marcandrewb/c61a425fe56e90c22a367deb90e92c55 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment