Skip to content

Instantly share code, notes, and snippets.

@artisin
Created October 28, 2017 20:50
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 artisin/6b31648e6ffb650b3dfd5cdef1104a74 to your computer and use it in GitHub Desktop.
Save artisin/6b31648e6ffb650b3dfd5cdef1104a74 to your computer and use it in GitHub Desktop.
sublime_shortcut_keys.md

Sublime Shortcut Keys

Editing

Shortcut Description
ctrl+] Indent right
ctrl+[ Indent left
ctrl+shift+g Create html wrap div, h1, etc
Ctrl+L select line (repeat select next lines)
Ctrl+D select word (repeat select others occurrences in context for multiple editing)
Ctrl+Alt+Up / Ctrl+Alt+Down select column for multiple editing
Ctrl+Shift+M select content into brackets
Ctrl+Shift+Enter insert line before
Ctrl+Enter inter line after
Ctrl+Shift+K delete line
Ctrl+KK delete from cursor to end of line
Ctrl+KBackspace delete from cursor to start of line
Ctrl+Shift+D duplicate line(s)
Ctrl+J join lines
Ctrl+KU upper case
Ctrl+KL lower case
Ctrl+/ comment line
Ctrl+Shift+/ block comment
Ctrl+Y redo or repeat
Ctrl+C copy
Ctrl+V paste
Ctrl+Shift+V paste and ident
Ctrl+Space autocomplete (repeat to select next suggestion)
Ctrl+M jump to matching brackets
Ctrl+U soft undo (movement undo)
Ctrl+Shift+U soft redo (movement redo)

Code Util

Shortcut Description
ctrl+alt+d Diff file

Code navigation

Shortcut Description
F12 go to definition
Alt+- jump back
Alt+Shift+- jump forward

Navigation

Shortcut Description
Ctrl+0 focus on sidebar
Esc focus back to edit area when focus on sidebar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment