Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andyj/bf4082bb6fcf8a432c5aa3526df686b2 to your computer and use it in GitHub Desktop.
Save andyj/bf4082bb6fcf8a432c5aa3526df686b2 to your computer and use it in GitHub Desktop.
Shortcut differences when moving between MacOS Sublime Text and VSCode

Sublime Text to VSCode Shortcuts on MacOS

General

Action Sublime Text Shortcut VSCode Shortcut
Open Recent Cmd+E Cmd+R
Toggle Sidebar Cmd+K, Cmd+B Cmd+B

Editing

Action Sublime Text Shortcut VSCode Shortcut
Duplicate Line/Selection Cmd+Shift+D Shift+Option+Down
Join Lines Cmd+J Cmd+Shift+J
Block Comment Cmd+Option+/ Shift+Option+A
Expand Selection Cmd+Shift+Space Cmd+Shift+A
Shrink Selection Cmd+M Cmd+Shift+M

Navigation

Action Sublime Text Shortcut VSCode Shortcut
Go to Symbol Cmd+R Cmd+Shift+O
Open Split View Cmd+Option+2 Cmd+\\

Find/Replace

Action Sublime Text Shortcut VSCode Shortcut
Replace Next Cmd+Shift+H Shift+Option+L
Replace All Option+Enter Cmd+Option+Enter

Multiple Cursors

Action Sublime Text Shortcut VSCode Shortcut
Add Next Line Ctrl+Cmd+Down Cmd+Option+Down
Add Previous Line Ctrl+Cmd+Up Cmd+Option+Up
Add Selection to Next Find Match Cmd+D Cmd+D
Skip Selection to Next Find Match Cmd+K, Cmd+D Cmd+K, Cmd+D

Miscellaneous

Action Sublime Text Shortcut VSCode Shortcut
Toggle Full Screen F11 Cmd+Ctrl+F
Toggle Distraction Free Mode Shift+F11 Cmd+K, Z
Open Integrated Terminal Cmd+` Cmd+`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment