Skip to content

Instantly share code, notes, and snippets.

@heaversm
Last active February 2, 2020 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heaversm/d22c4f0538885076c2467392c85f9a97 to your computer and use it in GitHub Desktop.
Save heaversm/d22c4f0538885076c2467392c85f9a97 to your computer and use it in GitHub Desktop.
VSCode Shortcuts

VSCode Shortcuts

MOUSE AND KEYBOARD

  • option + dbl_click to multiselect entire words.
  • opt + cmd + ↓ selects multiple lines
  • Pasting multi-line content into multi-line cursors distributes them, for example, among list items
  • cmd + d selects additional instances of the highlighted code
  • shift + cmd + l selects all instances of the highlighted code
  • shift + → expands selection one space
  • shift + option + → expands selection one text grouping
  • shift + cmd + → expands selection to end of line
  • shift + cmd + 6 to move cursor to matching tag

To set a shortcut, go to File > Preferences > Keyboard Shortcuts and search for the one you want. Hit the + next to it and type your combo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment