Sublime Text 3

General

CMD+SHIFT+P

Command palette

CMD+P

Go to anything

CMD+R

Go to symbol

CMD+N

New file

CMD+S

Save file

CMD+SHIFT+S

Save file as

CMD+OPTION+S

Save all

CMD+O

Open file

CMD+W

Close file

CMD+SHIFT+T

Reopen closed file

CMD+SHIFT+N

New window

CMD+SHIFT+W

Close window

CMD+K, CMD+B

Show sidebar

CTRL+`

Show console

CTRL+0

Focus sidebar

CTRL+1-9

Focus group/pane 1-9

CMD+CTRL+F

Enter full screen

CMD+CTRL+SHIFT+F

Enter distra­ction free mode

Moving / Editing

CMD+Z

Undo

CMD+SHIFT+Z

Redo

CMD+Y

Repeat

CMD+C

Copy

CTRL+Y

Yank

Inserts the text that’s on top of the kill ring

CMD+X

Cut

CMD+V

Paste

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

CTRL+SHIFT+K

Delete line

CMD+J

Join lines

CMD+/

Toggle comment

CMD+OPTION+/

Toggle block comment

CMD+SHIFT+Return

Insert line before

CMD+Return

Insert line after

CMD+Backspace

Delete to beginning of line

CTRL+K

Delete to end of line

CTRL+A

Move to beginning of line

CTRL+E

Move to end of line

CTRL+P

Move up

CTRL+N

Move down

CTRL+B

Move left

CTRL+F

Move right

CTRL+T

Transpose

Swap two characters or words

CMD+OPTION+.

Close tag

CTRL+SHIFT+W

Wrap selection with tag

CMD+K, CMD+U

Convert selected text to uppercase

CMD+K, CMD+L

Convert selected text to lowercase

CMD+OPTION+Q

Wrap paragraph at ruler

F5

Sort lines

CTRL+F5

Sort lines (case sensitive)

CTRL+G

Go to line

CTRL+M

Jump to matching brackets

CTRL+L

Scroll to selection

CTRL+OPTION+Arrow Up

Scroll line up

CTRL+OPTION+Arrow Down

Scroll line down

CTRL+Q

Record macro

CTRL+SHIFT+Q

Playback macro

Selection

CMD+U

Undo selection

CMD+SHIFT+U

Redo selection

CMD+SHIFT+L

Split selection into lines

CTRL+SHIFT+Arrow Down

Add next line

CTRL+SHIFT+Arrow Up

Add previo­us line

Esc

Single selection

Cancel multiple selections

CMD+A

Select all

CMD+D

Expand selection to word

CMD+L

Expand selection to line

CMD+SHIFT+A

Expand selection to tag (HTML/XML)

CMD+SHIFT+Space

Expand selection to scope

CTRL+SHIFT+M

Expand selection to brackets

CMD+SHIFT+J

Expand selection to indent­ation

Search / Replace

Folding

CMD+OPTION+[

Fold selec­tion

CMD+OPTION+]

Unfold

CMD+K, CMD+J

Unfold all

CMD+K, CMD+1

Fold all

CMD+K, CMD+2-9

Fold level 2-9

CMD+K, CMD+T

Fold tag attributes (HTML/XML)

Bookmarking

CMD+K, CMD+Space

Set mark

CMD+K, CMD+A

Select to mark

CMD+K, CMD+W

Delete to mark

CMD+K, CMD+X

Swap with mark

CMD+K, CMD+G

Clear to mark

CMD+F2

Toggle bookmark

F2

Next bookmark

SHIFT+F2

Previous bookmark

CMD+SHIFT+F2

Clear bookmarks

Layout

CMD+OPTION+1

Single

CMD+OPTION+2

Columns: 2

CMD+OPTION+3

Columns: 3

CMD+OPTION+4

Columns: 4

CMD+SHIFT+OPTION+2

Rows: 2

CMD+SHIFT+OPTION+3

Rows: 3

CMD+OPTION+5

Grid: 3

CTRL+[NUM]

Jump to specified group

CTRL+SHIFT+[NUM]

Move file to specified group

Miscellaneous

F6

Toggle spell check

CTRL+F6

Next misspe­lling

CTRL+SHIFT+F6

Previous misspe­lling

CMD+B

Build

CTRL+Space

Show comple­tions

CMD+OPTION+T

Special characters

Notes