Sublime Text 2 (OS X) Cheat Sheet

A Software › Text Editor cheat sheet in English by example42

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

43,985 views 6,529 downloads 13 Jun 2012 History
5.0 avg · 12 ratings

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

Badges

Useful Cheat Sheet Great Cheat Sheet Nice Cheat Sheet Good Cheat Sheet Appreciated Cheat Sheet Downloaded from Unusual Locations × 1

Comments (5)

alex 14:46 13 Feb 2014

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

Reply
Jonah 11:47 24 Jan 2013

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/

Reply
Anonymous 10:09 6 Nov 2012

^+⇧+W wrap selection with a tag

Reply
Anonymous 15:07 25 Oct 2012

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

Reply
Nand 15:23 6 Aug 2012

There are faults with this. Ctrl+X (Linux / Windows) is cut, Shift+Del is delete line. Also, Ctrl+H is replace.

Reply

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.