Show Menu
Cheatography

Sublime Text 2 (OS X) Keyboard Shortcuts by

Behold, the most useful Sublime Text 2 keyboard shortcuts for OS X. Did we miss anything? Contribute your own.

Editing - Sublime Text 2

Keypress
Command
⌘ + X
Delete line
⌘ + ↩
Insert line after
⌘ + ⇧ + ↩
Insert line before
⌘ + ⌃ + ↑
Move line/s­ele­ction up
⌘ + ⌃ + ↓
Move line/s­ele­ction down
⌘ + L
Select line (repea­table)
⌘ + D
Select word (repea­table)
⌃ + M
Jump to closing parent­heses (repea­table)
⌃ + ⇧ + M
Select contents of current parent­heses
⌘ + K, ⌘ + K
Delete from cursor to end of line
⌘ + K + ⌫
Delete from cursor to start of line
⌘ + ]
Indent current line(s)
⌘ + [
Un-indent current line(s)
⌘ + ⇧ + D
Duplicate line(s)
⌘ + J
Join line below to current line
⌘ + /
Commen­t/u­n-c­omment line/s­ele­ction
⌘ + ⌥ + /
Block comment current selection
⌘ + ⇧ + V
Paste and indent correctly
 

Text Manipu­lation - Sublime Text 2

Keypress
Command
⌘ + K, ⌘ + U
Transform to Uppercase
⌘ + K, ⌘ + L
Transform to Lowercase

Find / Replace - Sublime Text 2

Keypress
Command
⌘ + F
Find
⌘ + ⌥ + F
Replace
⌘ + ⇧ + F
Find in files
 

General - Sublime Text 2

Keypress
Command
⌘ + P
Quick-open files by name
⌘ + K, ⌘ + B
Toggle side bar
⌥ + ⌘ + 2
Split editor into two columns
⌥ + ⌘ + 1
Revert editor to single column
               
 

Comments

There are faults with this.

Ctrl+X (Linux / Windows) is cut, Shift+Del is delete line.
Also, Ctrl+H is replace.

⌘+⇧+L edits all the lines within a selection

^+⇧+W wrap selection with a tag

I have quite a few you might not know of along with a printable cheat sheet on my site: http://workfunc.com/sublime-text-2-shortcuts-cheat-sheet/

indentantion doesn`t work, anybody has another way of doing it?

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 2 - Shortcuts (Verbose Mac) Keyboard Shortcuts