Skip to content

Instantly share code, notes, and snippets.

@dovakeen118
Last active July 1, 2022 20:29
Show Gist options
  • Save dovakeen118/c0edf09b8782716e66fd0a53098e6637 to your computer and use it in GitHub Desktop.
Save dovakeen118/c0edf09b8782716e66fd0a53098e6637 to your computer and use it in GitHub Desktop.
VSCode Keyboard Shortcuts macOS

Shortcut Guides:

Mac: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf

Windows: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf

Linux: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf

Mac Keyboard Icons:

  • ⌘ is the Command () key
  • ⌃ is the Control key
  • ⌥ is the Option (alt) key
  • ⇧ is the Shift key

Mac Shortcuts

Basic Editing

  • Move line down/up ⌥↓ / ⌥↑ (opt + arrow)
  • Copy line down/up ⇧⌥↓ / ⇧⌥↑ (shift + opt + arrow)
  • Delete line ⇧⌘K (shift + cmd + K)
  • Go to beginning/end of line Home / End OR cmd + arrow

Multi-cursor and Selection

  • Insert (multiple) cursors ⌥ + click (opt + click)

Search and Replace

  • Find ⌘F (cmd + F)
  • Highlight next match ⌘D (cmd + D)

Navigation

  • Go to File by name ⌘P (cmd + P)

Editor Management

  • Close editor/ file ⌘W (cmd + W)

File Management

  • Save ⌘S (cmd + S)
  • Save All ⌥⌘S (opt + cmd + S)
  • Close editor/ file ⌘W (cmd + W)

Display

  • Directory Search ⇧⌘F (shift + cmd + F)
  • Open Markdown preview ⇧⌘V (shift + cmd + V)
  • Open Markdown preview to the side ⌘K V (cmd + K + V)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment