Skip to content

Instantly share code, notes, and snippets.

@kmila
Forked from amowu/sublime-text-2-shortcuts.md
Created March 21, 2013 18:26
Show Gist options
  • Select an option

  • Save kmila/5215415 to your computer and use it in GitHub Desktop.

Select an option

Save kmila/5215415 to your computer and use it in GitHub Desktop.

#Sublime Text 2 - Shortcuts (Mac OSX)

##Default

###General

Command Shortcut
Command palette ⌘ + ⇧ + P
Toggle side bar ⌘ + K + B

###Goto

Command Shortcut
Goto anything ⌘ + P
Goto symbol ⌘ + R
Goto line ⌃ + G

###View

Command Shortcut
Destraction Free Mode ^ + ⇧ + ⌘ + F

###Edit

Command Shortcut
Select line ⌘ + L
Select word ⌘ + D
Delete from cursor to end of line ⌘ + K + K
Delete from cursor to start of line ⌘ + K + ⌫
Delete line ⌃ + ⇧ + K
Duplicate line ⌘ + ⇧ + D
Join lines ⌘ + J
Upper case ⌘ + K + U
Lower case ⌘ + K + L
Jump to matching brackets ⌃ + M
Select content into brackets ⌃ + ⇧ + M
Comment ⌘ + /
Block comment ⌘ + ⌥ + /
Autocomplete ⌃ + Space
Insert line before ⌘ + ⇧ + ↩
Insert line after ⌘ + ↩
Move up line ⌃ + ⌘ + Up
Move down line ⌃ + ⌘ + Down
Fold ⌘ + ⌥ + [
Unfold ⌘ + ⌥ + ]

###HTML

Command Shortcut
Close tag ⌘ + ⌥ + .
Select content into tag ⌘ + ⇧ + A

###Find

Command Shortcut
Find ⌘ + F
Replace ⌘ + ⌥ + F
Find next occurrence of current word ⌘ + ⌥ + G
Select all occurrences of current word for multiple editing ⌘ + ⌃ + G
Find in files ⌘ + ⇧ + F

###Splits

Command Shortcut
Single column ⌘ + ⌥ + 1
Two columns ⌘ + ⌥ + 2
Grid (4 groups) ⌘ + ⌥ + 5
focus group ⌃ + Num
Move file to group ⌃ + ⇧ + Num
Select tab ⌘ + Num

##Packge

###Emmet

Command Shortcut
Expand abbreviation Tab or ⌃ + E

###EasyMotion

Command Shortcut
Jump ⌘ + ; + a-zA-Z0-9
Select all text between cursor ⌘ + ⇧ + ; + a-zA-Z0-9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment