Show Menu

Sublime Text 2 Shortcuts (OS X) Cheat Sheet by example42

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

Editing - Sublime Text 2

Keyp­ress
Comm­and
⌘ + 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

Keyp­ress
Comm­and
⌘ + K, ⌘ + U
Transform to Uppercase
⌘ + K, ⌘ + L
Transform to Lowercase

Find / Replace - Sublime Text 2

Keyp­ress
Comm­and
⌘ + F
Find
⌘ + ⌥ + F
Replace
⌘ + ⇧ + F
Find in files
 

General - Sublime Text 2

Keyp­ress
Comm­and
⌘ + P
Quick-open files by name
⌘ + K, ⌘ + B
Toggle side bar
⌥ + ⌘ + 2
Split editor into two columns
⌥ + ⌘ + 1
Revert editor to single column
 

Share This Cheat Sheet!

Favourited by 12 Members:

hitomi0528 Theosis mstrbutlertron emre pedromarban crss1138 henrikcederblad 0main gverri clouder dezos ElmoFromOK

Comments

Nand Nand, 15:23 6 Aug 12

There are faults with this.

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

crss1138 crss1138, 15:07 25 Oct 12

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

crss1138 crss1138, 10:09 6 Nov 12

^+⇧+W wrap selection with a tag

Jonah Jonah, 11:47 24 Jan 13

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/

alex alex, 14:46 13 Feb 14

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.