Sublime Text 2

Enjoy this cheat sheet at its fullest within Dash, the macOS documentation browser.

Edit

CMD+SHIFT+V

Paste and indent

CMD+]

Indent

CMD+[

Unindent

CMD+CTRL+Arrow Up

Swap line up

CMD+CTRL+Arrow Down

Swap line down

CMD+SHIFT+D

Duplicate line

CMD+J

Join lines

CMD+Arrow Left

Beginning of line

CMD+Arrow Right

End of line

CMD+/

Toggle comment

CMD+CTRL+/

Toggle comment block

CTRL+SHIFT+K

Delete line

CTRL+K

Delete to end

CTRL+T

Transpose

CMD+OPTION+.

Close tag

CMD+SHIFT+A

Expand selection to tag

CTRL+SHIFT+W

Wrap selection with tag

CMD+OPTION+Q

Wrap paragraph at ruler

F5

Sort lines

CTRL+F5

Sort lines (case sensitive)

CMD+OPTION+T

Special characters

Selection

CMD+SHIFT+L

Split into lines

CTRL+SHIFT+Arrow Up

Add previous line

CTRL+SHIFT+Arrow Down

Add next line

Esc

Single selection

Cancel multiple selections

CMD+L

Expand selection to line

CMD+D

Expand selection to words

CTRL+SHIFT+M

Expand selection to brackets

CMD+SHIFT+J

Expand selection to indentation

CMD+SHIFT+A

Expand selection to tag

Find

CMD+F

Find

CMD+G

Find next

CMD+SHIFT+G

Find previous

CMD+I

Incremental find

CMD+OPTION+F

Replace

CMD+OPTION+E

Replace next

CMD+OPTION+G

Quick find

CMD+CTRL+G

Quick find all

CMD+D

Quick add next

CMD+E

Use selection for find

CMD+SHIFT+E

Use selection for replace

CMD+SHIFT+F

Find in files

View

CTRL+`

Show console

CMD+CTRL+F

Enter full screen

CMD+CTRL+SHIFT+F

Enter distraction free mode

CMD+OPTION+1-4

Single layout

CMD+OPTION+2-4

2-4 column layout

CMD+OPTION+SHIFT+2-3

2-3 row layout

CMD+OPTION+5

Grid layout

CTRL+1

Group 1

CTRL+SHIFT+1

Group 2

F6

Spell check

Go to

CMD+P

Go to anything

CMD+R

Go to symbol

CTRL+G

Go to line

CMD+OPTION+Arrow Right

Next file

CMD+OPTION+Arrow Left

Previous file

CMD+OPTION+Arrow Up

Switch header / implementation

CMD+1

Go to first file

CTRL+L

Scroll to selection

CTRL+OPTION+Arrow Up

Scroll line up

CTRL+OPTION+Arrow Down

Scroll line down

CMD+F2

Toggle bookmark

F2

Next bookmark

SHIFT+F2

Previous bookmark

CMD+SHIFT+F2

Clear bookmarks

CTRL+M

Jump to matching bracket

Tools

CMD+SHIFT+P

Command palette

CTRL+OPTION+V

View in browser

CMD+B

Build

CTRL+Q

Record macro

CTRL+R

Run

CTRL+OPTION+R

Run with arguments

CTRL+D

Debug

CTRL+OPTION+D

Debug with arguments

Project

CMD+CTRL+P

Switch project window