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­ressComm­and
⌘ + XDelete line
⌘ + ↩Insert line after
⌘ + ⇧ + ↩Insert line before
⌘ + ⌃ + ↑Move line/s­ele­ction up
⌘ + ⌃ + ↓Move line/s­ele­ction down
⌘ + LSelect line (repea­table)
⌘ + DSelect word (repea­table)
⌃ + MJump to closing parent­heses (repea­table)
⌃ + ⇧ + MSelect contents of current parent­heses
⌘ + K, ⌘ + KDelete from cursor to end of line
⌘ + K + ⌫Delete from cursor to start of line
⌘ + ]Indent current line(s)
⌘ + [Un-indent current line(s)
⌘ + ⇧ + DDuplicate line(s)
⌘ + JJoin line below to current line
⌘ + /Commen­t/u­n-c­omment line/s­ele­ction
⌘ + ⌥ + /Block comment current selection
⌘ + ⇧ + VPaste and indent correctly
 

Text Manipulation - Sublime Text 2

Keyp­ressComm­and
⌘ + K, ⌘ + UTransform to Uppercase
⌘ + K, ⌘ + LTransform to Lowercase

Find / Replace - Sublime Text 2

Keyp­ressComm­and
⌘ + FFind
⌘ + ⌥ + FReplace
⌘ + ⇧ + FFind in files
 

General - Sublime Text 2

Keyp­ressComm­and
⌘ + PQuick-open files by name
⌘ + K, ⌘ + BToggle side bar
⌥ + ⌘ + 2Split editor into two columns
⌥ + ⌘ + 1Revert 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.