Show Menu
Cheatography

Sublime Text 2 OSX Keyboard Shortcuts by

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 Occurr­­ences 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 Manipu­­lation

⌘ + 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/C­losing Bracket
CTRL + ⇧ + M
Select Content within Bracket
⌘ + '
Select Content within Quotes
⌘ + ⇧ + J
Select Content within Indent­ation
⌘ + ⇧ + 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
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Sublime Text 2 Windows Keyboard Shortcuts
          Sublime Text 3 Keyboard Shortcuts