Cheatography
https://cheatography.com
Keyboard Shortcuts for Sublime Text 2 for Windows.Commas indicate to press one key, then another (Ctrl + K, 1 = Hold control, press K, then press 1).Slashes indicate options, Alt + Shift + 2/3/4 means hold Alt and Shift, then press 2, 3, or 4.
General
Keypress |
Command |
Ctrl + Shift + P |
Command pallette |
Ctrl + / |
Toggle comment |
Ctrl + Shift + / |
Toggle block comment |
Ctrl + Space |
Show completions |
File Navigation
Ctrl + P |
Goto Anything |
Ctrl + G |
Goto Line |
Ctrl + R |
Goto symbol (function name, table, etc.) |
Ctrl + Pageup/Pagedown |
Goto next/prev file |
Ctrl + K, C |
Goto current selection |
Ctrl + Up/Down |
Scroll up/down one line (doesn't move cursor) |
Ctrl + F2 |
Set Bookmark |
Alt + Ctrl + P |
Switch Project |
Ctrl+Shift + F2 |
Clear all bookmarks |
F2 |
Goto next bookmark |
|
|
View/Window Manipulation
Ctrl + ` |
Show/Hide Console |
Ctrl + K, B |
Show/Hide Sidebar |
F11 |
Fullscreen |
Shift + F11 |
Distraction-free mode |
Alt + Shift + 2/3/4 |
Set 2, 3, or 4 column layout |
Alt + Shift + 8/9 |
Set 2 or 3 Row layout |
Alt + Shift + 5 |
Set 4-pane grid layout |
Alt + Shift + 1 |
Set single-pane layout |
Ctrl + 1/2/3/4 |
Set focused group/pane |
Ctrl + Shift 1/2/3/4 |
Move current tab/file to pane |
Find
Ctrl + F |
Find |
F3 |
Find Next |
Ctrl + F3 |
Find previous |
Ctrl + I |
Incremental find |
Ctrl + H |
Replace |
Ctrl + Shift + H |
Replace next |
Ctrl + F3 |
Quick Find (find current word) |
Alt + F3 |
Quick find all |
Ctrl + E |
Use selection for find |
Ctrl + Shift + E |
Use selection for replace |
Ctrl + Shift + F |
Find in files |
F4 |
Next result (find in files) |
Shift + F4 |
Previous result (find in files) |
Folding
Ctrl + [ / ] |
Fold/expand |
Ctrl + K, J |
Unfold all |
Ctrl + K, 1 |
Fold all |
Ctrl + 2-9 |
Fold level X |
Ctrl K, T |
Fold tag attributes |
Marks
Ctrl + K, Space |
Set mark |
Ctrl + K, A |
Select to mark |
Ctrl + K, W |
Delete to mark |
Ctrl + K, X |
Swap with mark |
Ctrl + K, Y |
Yank |
|
|
Word Manipulation
Ctrl + Delete/Backspace |
Delete word forward/backward |
Ctrl + K, K |
Delete to end of line |
Ctrl + K, Backspace |
Delete to beginning of line |
Ctrl + T |
Transpose (switch characters surrounding cursor) |
Alt + . |
Close Tag |
Ctrl + K, U/L |
Convert to upper/lower case |
Line Manipulation
Ctrl + ], [ |
Indent/outdent |
Ctrl + Shift + Up/Down |
Swap Line Up/Down |
Ctrl + Shift + D |
Duplicate Line |
Ctrl + Shift + K |
Delete line |
Ctrl + J |
Join Lines |
Ctrl + X |
Cut Line |
Ctrl + V |
Paste cut/copied line above |
Ctrl + Enter |
Insert line after |
Ctrl + Shift + Enter |
Insert Line Before |
F9 |
Sort Lines |
Ctrl + F9 |
Sort lines (case-sensitive) |
Selection
Ctrl + D |
Quick select (repeat to add next) |
Ctrl + U |
Undo quick select |
Ctrl + K, D |
Skip and quick add next |
Ctrl + Shift + L |
Split into lines (adds cursor to each line of current selection) |
Alt + Ctrl + Up/Down |
Add previous/next line |
Ctrl + L |
Expand selection to line |
Ctrl + Shift + Space |
Expand selection to scope |
Ctrl + Shift + M |
Expand selection to brackets |
Ctrl + Shift + J |
Expand selection to indentation |
Ctrl + Shift + A |
Expand selection to tag |
|
Created By
Metadata
Favourited By
and 18 more ...
Comments
CTRL + SHIFT + W = Add HTML Tag
Debug features enabled
http://www.sitepoint.com/debugging-xdebug-sublime-text-3/
CTRL + SHIFT + W = Exit Sublime
CTRL + W = Exit Active/Current File
nice work! i've converted it to html with bootstrap for mobile use
http://maxpogorelov.es/cs/
Thanks bro! :)
correction:
Ctrl + Shift + [ / ] Fold/eÂxpand
Any method for making this print friendly?
Hi Ken. You can download a printable PDF of this cheat sheet if you click on "Downloads" at the top left.
Any shortcut for showing this cheat-sheet in Sublime?
Suggestions:
Ctrl + N (New file in new tab)
Ctrl + O (Open file in new tab)
Ctrl + S (Save)
Ctrl + Shift + S (Save as)
Ctrl + Shift + N (New file in new window)
Ctrl + W (Close current file)
Ctrl + Shift + W (Close current window)
thanks .. :)
Selection:
Alt + F3 (Select all instances of a selected region)
I have managed to create a complete list of Sublime Text 3 commands that doesn't have a default Keyboard Shortcut.
Check this: http://codezag.com/list-sublime-text-3-commands/
Hope it helps.
CTRL+ALT+DEL = makes sublime text disappear
Ctrl + K, 1
Fold all doesnt work
Nice list.
I have created a tutorial on how to create shortcuts in Sublime Text here: http://codezag.com/sublime-text-create-shortcuts-key-bindings/
Add a Comment
Related Cheat Sheets