Cheatography
https://cheatography.com
Sublime Text 2 cheat sheet
General
⌘ + K, ⌘ + B |
Toggle Sidebar |
⌘ + < |
Next Sublime Window |
⌘ + ⇧ + < |
Previous Sublime Window |
CTRL + ALT + ↑/↓ |
Scroll Line Up/Down |
Goto
⌘ + P |
Goto Anything |
⌘ + R |
Goto Method |
CTRL + G |
Goto Line |
CTRL + L |
Goto Cursor |
⌘ + CTRL + P |
Goto Project |
Sort
F5 |
Sort Lines |
CTRL + F5 |
Sort Lines (Case sensitive) |
XML / HTML
⌘ + ⇧ + A |
Select Content within Tag |
⌘ + ALT + . |
Close Tag |
⌘ + ⇧ + K |
Select Opening and Closing Tag |
Find / Replace
⌘ + F |
Find |
⌘ + ⇧ + G |
Find previous |
⌘ + G |
Find Next |
Control + ⌘ + G |
Find All Occurrences of Current Word |
⌘ + ALT + F |
Replace |
⌘ + ALT + E |
Replace Next |
|
|
Editing
CTRL + K |
Delete from Cursor to End of Line |
⌘ + K + ⌫ |
Delete from Cursor to Start of Line |
CTRL + A |
Move to Beginning of Line |
⌘ + CTRL + left/right |
Goto Navigation History |
CTRL + ⇧ + ↑/↓ |
Extra Cursor On the Line Above/Below |
Editing Lines
⌘ + CTRL + ↑/↓ |
Move Line |
⌘ + ⇧ + D |
Duplicate Line |
⌘ + J |
Join Lines |
CTRL + ⇧ + K |
Delete Line |
⌘ + ⇧ + ↩ |
Insert Line Before |
⌘ + ↩ |
Insert Line After |
Text Manipulation
⌘ + K, ⌘ + U |
Transform to Uppercase |
⌘ + K, ⌘ + L |
Transform to Lowercase |
Macro
CTRL + Q |
Record/Stop Macro |
CTRL + ⇧ + Q |
Playback Macro |
|
|
Selection
⌘ + G |
Goto Next Word Selection |
⌘ + CTRL + G |
Select All Current Word |
⌘ + L |
Select Line |
⌘ + D |
Select Word |
⌘ + K, ⌘ + D |
Skip Last Selected Word |
⌘ + U |
Undo Last selection |
CTRL + M |
Goto Open/Closing Bracket |
CTRL + ⇧ + M |
Select Content within Bracket |
⌘ + ' |
Select Content within Quotes |
⌘ + ⇧ + J |
Select Content within Indentation |
⌘ + ⇧ + L |
Split Selection Into Lines (inserts multiple cursors) |
⌘ + ⇧ + Space |
Expand Selection to Scope |
Comments
⌘ + / |
Toggle Comment |
⌘ + ALT + / |
Toggle Block Comment |
Split / Tabs
⌘ + ALT + [1-4] |
Split into Columns |
⌘ + ALT + 5 |
Split into Rows and Columns |
⌘ + ALT + ⇧ + 1 |
Split into Rows |
CTRL + [1-4] |
Focus Window |
CTRL + ⇧ + [1-4] |
Move File to Window |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets