Sublime Text 2 Shortcuts (Mac OSX)
by Amo Wu
Default
General
- Command palette
⌘ + ⇧ + P
- Toggle side bar
⌘ + K + B
Goto
- Goto anything
⌘ + P
- Goto symbol
⌘ + R
- Goto line
⌃ + G
View
- Destraction Free Mode
^ + ⇧ + ⌘ + F
Edit
- Select line
⌘ + L
- Select word
⌘ + D
- Delete from cursor to end of line
⌘ + K + K
- Delete from cursor to start of line
⌘ + K + ⌫
- Delete line
⌃ + ⇧ + K
- Duplicate line
⌘ + ⇧ + D
- Join lines
⌘ + J
- Upper case
⌘ + K + U
- Lower case
⌘ + K + L
- Jump to matching brackets
⌃ + M
- Select content into brackets
⌃ + ⇧ + M
- Comment
⌘ + /
- Block comment
⌘ + ⌥ + /
- Autocomplete
⌃ + Space
- Insert line before
⌘ + ⇧ + ↩
- Insert line after
⌘ + ↩
- Move up line
⌃ + ⌘ + Up
- Move down line
⌃ + ⌘ + Down
- Fold
⌘ + ⌥ + [
- Unfold
⌘ + ⌥ + ]
HTML
- Close tag
⌘ + ⌥ + .
- Select content into tag
⌘ + ⇧ + A
Find
- Find
⌘ + F
- Replace
⌘ + ⌥ + F
- Find next occurrence of current word
⌘ + ⌥ + G
- Select all occurrences of current word for multiple editing
⌘ + ⌃ + G
- Find in files
⌘ + ⇧ + F
Splits
- Single column
⌘ + ⌥ + 1
- Two columns
⌘ + ⌥ + 2
- Grid (4 groups)
⌘ + ⌥ + 5
- focus group
⌃ + Num
- Move file to group
⌃ + ⇧ + Num
- Select tab
⌘ + Num
- Switch tab
⌃ + tab
Custom
- Reveal in side bar
⌃ + ⌘ + R
Package
- Expand abbreviation
Tab or ⌃ + E
- Jump
⌘ + ; + a-zA-Z0-9
- Select all text between cursor
⌘ + ⇧ + ; + a-zA-Z0-9
- Format javascript
⌃ + ⌥ + F