Skip to content

Instantly share code, notes, and snippets.

@macouella
Last active July 29, 2019 02:05
Show Gist options
  • Save macouella/fa19cbed3aae7413d153b4c396ff05fb to your computer and use it in GitHub Desktop.
Save macouella/fa19cbed3aae7413d153b4c396ff05fb to your computer and use it in GitHub Desktop.
VSCode Shortcuts

Hello!

Useful plugins

Expand selection to scope

Disable fn keys

System Preferences > Keyboard > Tick Use f1, f2, etc. as standard function keys...

Master keyboard icon list (OSX)

Key Name
Command
Control
Alt/Option (alt)
Shift
Caps Lock
fn Function

Useful Commands

Command Name
alt+cmd+[ Fold
alt+cmd+] Unfold
alt+cmd+down Insert cursor below
alt+cmd+left Open previous editor
alt+cmd+right Open next editor
alt+cmd+up Insert cursor above
alt+down Move lines down
alt+f8 Go to next problem
alt+up Move lines up
cmd+b Toggle sidebar visibility
cmd+d Add selection to next find match
cmd+enter Insert line after
cmd+f12 Go to implementation
ctrl+cmd+left Move editor to previous group
ctrl+cmd+right Move editor to next group
ctrl+j Join lines
ctrl+shift+cmd+left Shrink selection from scope
ctrl+shift+cmd+right Expand selection to scope
f12 Go to definition
f2 Join lines
f5 Start debugging
f8 Go to next problem in file
f9 Toggle breakpoint
shift+alt+down Copy line down
shift+alt+i Add cursors to line ends
shift+alt+up Copy line up
shift+cmd+\ Jump to bracket
shift+cmd+enter Insert line before
shift+cmd+l Select all occurences of highlighted word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment