Sublime Text Keyboard Shortcut
Improve your workflow by mastering the key binding of your application.
This isn’t a full list of the key binding, you can always refer back to your configuration files.
You might find it useful if you want to migrate to become a full keyboard user.
There are some key binding are not shown on your menu. E.g. Move focus to sidebar.
OS X/UNIX
Keys | Description ———————|——————————————————————— ⌘ [↑, ↓, ←, →] | Move cursor to the Ends ⇧ ⇥ | Reverse Tab ⇧ Anything | Reverse version of a shortcut, if exist
Open/Goto
Keys | Description ———————|——————————————————————— ⌘T | Go to file ⌘⌃P | Go to project ⌘R | Go to methods ⌘⇧P | Sublime command palette ⌃G | Go to line ⌃` | Python console ⌃0 | Move focus to sidebar
Editing
Keys | Description ———————|——————————————————————— ⌘L | Select line, repeatable ⌘D | Select word, repeatable ⌘G | Move select to next word ⌘⌃G | Select all occurence ⌘⇧L | Place a cursors at each highlighted lines ⌃⇧M | Select content inside a bracket ⌘⇧␣ | Select content inside a bracket ⌘⇧⏎ | Insert line before ⌘⏎ | Insert line after ⌃⇧K | Delete line ⌘KK | Delete from cursor to end of line ⌘K⌫ | Delete from cursor to start of line ⌘⇧D | Duplicate line(s) ⌘J | Join lines ⌥[↑, ↓] | Toggle between lowercase, Capitalize and UPPERCASE ⌘KU | Uppercase ⌘KL | Lowercase ⌘/ | Toggle Comment ⌘⌥/| Toggle Block comment ⌘Y | Redo or repeat ⌃␣ | Autocomplete (repeat to select next suggestion) ⌃M | Jump to matching brackets
Sublime Jekyll Package
Keys | Description ———————|——————————————————————— ⌘KD | Insert date, anywhere ⌘KT | Insert datetime, anywhere
Markup language
Keys | Description ———————|——————————————————————— ⌘⌃A | Select content in a tag ⌘⇧K | Select pairing open and close tag
Emmet
Keys | Description ———————|——————————————————————— ⌃W | Wrap with a tag ⌃E | Expand anything
Find/Replace
Keys | Description ———————|——————————————————————— ⌘F | Find ⌘⌥F | Replace ⌘⌥G | Find next occurrence of current word ⌘⌃G | Select all occurrences of current word for multiple editing ⌘⇧F | Find in files
Splits/Tabs
Keys | Description ———————|——————————————————————— ⌘⌥1 | Single column ⌘⌥2 | Two columns ⌘⌥5 | Grid (4 groups) ⌃[1,2,3,4] | Focus group ⌃⇧[1,2,3] | Move file to group ⌘[1,2,3] | Select tab
Bookmarks
Keys | Description ———————|——————————————————————— ⌘F2 | Toggle bookmark F2 | Next bookmark (Overwritten by OS X, and Windows) ⇧F2 | Previous bookmark ⌘⇧F2 | Clear bookmarks
Other Apps
Terminal
Keys | Description ———————|——————————————————————— ⌃ U | Delete from cursor to start of the line ⌃ K | Delete from cursor to end of the line ⌃ W | Delete from cursor to start of the word
Google Chrome
Keys | Description ———————|——————————————————————— ⌘⇧C | Open Inspector and highlight element