Sublime Text 3 for Mac Cheat Sheet
System
⌘ + . |
Edit configuration file |
⌘ + + |
Increase editor font size |
⌘ + - |
Decrease editor font size |
Selection
⇧ + ⌘ + L |
Split selection into lines |
⌃ + ⇧ + ↑ |
Add previous line to selection |
⌃ + ⇧ + ↓ |
Add next line to selection |
⎋ (Esc) |
Single selection |
⌘ + A |
Select all |
⌘ + L |
Select current line |
⌘ + D |
Select current word |
⇧ + ⌘ + Space |
Expand selection to scope |
⌃ + ⇧ + M |
Expand selection to brackets |
⇧ + ⌘ + J |
Expand selection to indentation |
⇧ + ⌘ + A |
Expand selection to tag |
Find
⌘ + F |
Find |
⌘ + G |
Find next |
⇧ + ⌘ + G |
Find previous |
⌘ + I |
Incremental find |
⌥ + ⌘ + F |
Replace |
⌥ + ⌘ + E |
Replace next |
⌥ + ⌘ + G |
Quick find |
⌃ + ⌘ + G |
Quick find all |
⌘ + D |
Quick add next |
⌘ + E |
Use selection for find |
⇧ + ⌘ + E |
Use selection for replace |
⇧ + ⌘ + F |
Find in files |
F4 |
Next result |
⇧ + F4 |
Previous result |
View
⌃ + ``` |
Show console |
⌃ + ⌘ + F |
Toggle full screen |
⌃ + ⇧ + ⌘ + F |
Toggle distraction free mode |
⌥ + ⌘ + 1~4 |
Switch to 1~4 columns |
⌥ + ⌘ + 5 |
Switch to 4-grid layout |
⌥ + ⇧ + ⌘ + 2~3 |
Switch to 2~3 rows |
⌘ + K, ⌘ + ↑ |
Move file to new group |
⌘ + K, ⇧ + ⌘ + ↑ |
Create new group |
⌘ + K, ⌘ + ↓ |
Close group |
⌃ + 1~4 |
Focus on group 1~4 |
⌃ + ⇧ + 1~4 |
Move file to group 1~4 |
⌘ + K, ⌘ + → |
Focus on next group |
⌘ + K, ⌘ + ← |
Focus on previous group |
F6 |
Spell check |
⌃ + F6 |
Next spelling error |
⌃ + ⇧ + F6 |
Previous spelling error |
Goto
⌘ + P |
Goto Anything |
⌘ + R |
Goto Symbol |
⇧ + ⌘ + R |
Goto Project Symbol |
⌥ + ⌘ + ↓ |
Goto Definition |
⌃ + G |
Goto Line |
⌃ + - |
Jump back |
⌃ + ⇧ + - |
Jump forward |
⌥ + ⌘ + → (⌃ + ⇥) |
Switch to next tab |
⌥ + ⌘ + ← (⌃ + ⇧ + ⇥) |
Switch to previous tab |
⌃ + ⇥ (⌥ + ⌘ + →) |
Switch to next tab in stack |
⌃ + ⇧ + ⇥ (⌥ + ⌘ + ←) |
Switch to previous tab in stack |
⌘ + 1~9 |
Jump to tab 1~9 |
⌃ + L |
Scroll to selection |
⌃ + ⌥ + ↑ |
Scroll up one line |
⌃ + ⌥ + ↓ |
Scroll down one line |
⌘ + F2 |
Toggle bookmark |
F2 |
Next bookmark |
⇧ + F2 |
Previous bookmark |
⇧ + ⌘ + F2 |
Clear all bookmarks |
⌃ + M |
Jump to matching bracket |
Edit
⌘ + Z |
Undo |
⌘ + Y |
Redo |
⇧ + ⌘ + V |
Paste and indent |
⌘ + X |
Cut |
⌘ + ] |
Indent |
⌘ + [ |
Outdent |
⌃ + ⌘ + ↑ |
Move line up |
⌃ + ⌘ + ↓ |
Move line down |
⇧ + ⌘ + D |
Duplicate line |
⌃ + ⇧ + K (⌘ + ⌫) |
Delete line |
⌘ + J |
Join lines |
⌘ + / |
Toggle line comment |
⌥ + ⌘ + / |
Toggle block comment |
⇧ + ⌘ + ↩︎ |
Insert line before |
⌘ + ↩︎ |
Insert line after |
⌃ + K |
Delete to end of line |
⌘ + ⌫ (⌃ + T) |
Delete to start of line |
⌃ + T |
Transpose adjacent characters |
⌥ + ⌘ + . |
Close current tag |
⇧ + ⌘ + A |
Expand selection to tag |
⌃ + ⇧ + W |
Wrap selection with tag |
⌥ + ⌘ + [ |
Fold code |
⌥ + ⌘ + ] |
Unfold code |
⌘ + K, ⌘ + J |
Unfold all |
⌘ + K, ⌘ + 1~9 |
Fold code by level |
⌘ + K, ⌘ + T |
Fold tag attributes |
⌘ + K, ⌘ + U |
Convert to uppercase |
⌘ + K, ⌘ + L |
Convert to lowercase |
~ (⇧ + ⌘ + U) |
Toggle case |
⌥ + ⌘ + Q |
Wrap line at ruler |
⌃ + Space |
Show auto-completion |
F5 |
Sort lines |
⌃ + F5 |
Sort lines (case sensitive) |
⌥ + ⌘ + T |
Special characters |