Behold, the most useful Sublime Text 2 keyboard shortcuts for OS X. Did we miss anything? Contribute your own.
|
Keypress
|
Command
|
|
⌘ + X
|
Delete line
|
|
⌘ + ↩
|
Insert line after
|
|
⌘ + ⇧ + ↩
|
Insert line before
|
|
⌘ + ⌃ + ↑
|
Move line/selection up
|
|
⌘ + ⌃ + ↓
|
Move line/selection down
|
|
⌘ + L
|
Select line (repeatable)
|
|
⌘ + D
|
Select word (repeatable)
|
|
⌃ + M
|
Jump to closing parentheses (repeatable)
|
|
⌃ + ⇧ + M
|
Select contents of current parentheses
|
|
⌘ + 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
|
|
⌘ + /
|
Comment/un-comment line/selection
|
|
⌘ + ⌥ + /
|
Block comment current selection
|
|
⌘ + ⇧ + V
|
Paste and indent correctly
|
|
Keypress
|
Command
|
|
⌘ + K, ⌘ + U
|
Transform to Uppercase
|
|
⌘ + K, ⌘ + L
|
Transform to Lowercase
|
|
Keypress
|
Command
|
|
⌘ + F
|
Find
|
|
⌘ + ⌥ + F
|
Replace
|
|
⌘ + ⇧ + F
|
Find in files
|
|
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
|
indentantion doesn`t work, anybody has another way of doing it?
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/
^+⇧+W wrap selection with a tag
⌘+⇧+L edits all the lines within a selection
There are faults with this. Ctrl+X (Linux / Windows) is cut, Shift+Del is delete line. Also, Ctrl+H is replace.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.