Skip to content

Instantly share code, notes, and snippets.

@schmidt1024
Forked from lucasfais/gist:1207002
Last active August 29, 2015 14:13
Show Gist options
  • Save schmidt1024/7f818cd07704d4c78b02 to your computer and use it in GitHub Desktop.
Save schmidt1024/7f818cd07704d4c78b02 to your computer and use it in GitHub Desktop.
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (PC)

General

CTRL+P go to file
CTRL+R go to methods
CTRL+G go to line
CTRL+⇧+P package control
CTRL+⇧+N new window (useful for new project)

Editing

Ctrl+L select line (repeat select next lines)
CTRL+D select word (repeat select others occurrences in context for multiple editing)
CTRL+⇧+M select content into brackets
CTRL+⇧+↩ insert line before
CTRL+↩ inter line after
CTRL+⇧+K delete line
CTRL+K+K delete from cursor to end of line
CTRL+K+⌫ delete from cursor to start of line
CTRL+⇧+D duplicate line(s)
CTRL+J join lines
CTRL+K+U upper case
CTRL+K+L lower case
CTRL+/ comment
CTRL+⇧+/ block comment
CTRL+Y redo or repeat
CTRL+⇧+V paste and ident
CTRL+space autocomplete (repeat to select next suggestion)
CTRL+M jump to matching brackets

XML/HTML

CTRL+⇧+A select content into tag

Find/Replace

CTRL+F find
CTRL+H find and replace
CTRL+⇧+F find in files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment