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+ALT+.

Close tag

CMD+SHIFT+A

Expand selection to tag

CTRL+SHIFT+W

Wrap selection with tag

CMD+ALT+Q

Wrap paragraph at ruler

F5

Sort lines

CTRL+F5

Sort lines (case sensitive)

CMD+ALT+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+ALT+F

Replace

CMD+ALT+E

Replace next

CMD+ALT+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+ALT+1-4

Single layout

CMD+ALT+2-4

2-4 column layout

CMD+ALT+SHIFT+2-3

2-3 row layout

CMD+ALT+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+ALT+Arrow Right

Next file

CMD+ALT+Arrow Left

Previous file

CMD+ALT+Arrow Up

Switch header / implementation

CMD+1

Go to first file

CTRL+L

Scroll to selection

CTRL+ALT+Arrow Up

Scroll line up

CTRL+ALT+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+ALT+V

View in browser

CMD+B

Build

CTRL+Q

Record macro

CTRL+R

Run

CTRL+ALT+R

Run with arguments

CTRL+D

Debug

CTRL+ALT+D

Debug with arguments

Project

CMD+CTRL+P

Switch project window