-
Notifications
You must be signed in to change notification settings - Fork 10
Sublime
Here are some helpful tips, shortcuts, and plugins to make using Sublime Text3 feel sublime.
^ (control) + M
⌘ (command) + [ or ]
^ (control)+tab
This keyboard shortcut tabs through the open files in Sublime Text starting with the last used window.
⇧ (shift) + ⌘ (command) + V
⌘ (command) + K then ⌘ (command) + V
⌘ (command) + I
Incremental find lets you jump to a place in the doc when you hit enter (cursor goes to that location) or esc (cursor returns to its original location before the search)
⇧ (shift) + ⌘ (command) + A
This command expands your selection to the include the entire contents of a tag, working its way up the DOM each time you press it. Press once for contents of current tag. Press again to include surrounding tags. Press again for contents of parent tag, etc.
^ (control) + ⇧ (shift) + M
This command expands the selection to brackets in JS files (behaves like expand selection by tag in html files).
⇧ (shift) + ⌘ (command) + J
⌘ (command) + P
The goto anything command allows you to jump to anything quickly. It will bring up a dialog showing all of the open files, from which you can select, but you can also use it to jump to different places in any of your files. For example, if you want to go to a specific line number in the current file, use the keyboard command and then type : + the line number.
⌘ (command) + ⇧ (shift) + P
⌘ (command) + click or select all lines and press ⇧ (shift) + ⌘ (command) + L (split into lines command)
This command creates a multiple editing selection (i.e., adds multiple cursors).
⌘ (command) + D
⌘ (command) + K
These are my favorite plugins for Sublime Text:
GA Blog Post: Sublime Text 3 Tips and Tricks