Sublime Text Cheatsheet - Text Editor Shortcut Reference
Sublime stays beloved because it pairs a tiny footprint with real editing muscle. This reference covers basic editing and folding, the multi-cursor/bulk-edit power you can't get in many heavier editors, quick navigation, search, split layouts, and snippets. It is aimed at people editing large text or quick patches without loading a full IDE. After reading you select, fold and multi-edit pages faster than the mouse allows.
Basic Editing 10
Cmd + DSelect next matching word
Cmd + Shift + DDuplicate current line below
Cmd + Shift + KDelete whole line
Cmd + Shift + VPaste and indent
Cmd + /Toggle line comment
Cmd + Option + /Toggle block comment
Cmd + ]Increase indent
Cmd + [Decrease indent
Cmd + Shift + [Fold code block
Cmd + Shift + ]Unfold code block
Multi-cursor Editing 8
Cmd + ClickAdd multiple cursors
Cmd + Option + ↑Add cursor above
Cmd + Option + ↓Add cursor below
Cmd + Option + ASelect all matches
Cmd + LSelect whole line and add cursor at end
Cmd + Shift + LSplit multiple lines into multiple cursors
Cmd + DSelect next matching word
Cmd + K, Cmd + DSkip current selection, select next
Search & Replace 6
Cmd + FFind
Cmd + Option + FReplace
Cmd + Shift + FFind in files
Cmd + Shift + HReplace in files
Cmd + IIncremental find
Cmd + Shift + IIncremental reverse find
Windows & Panels 7
Cmd + Option + 2Split left/right (2 columns)
Cmd + Option + 3Split left/right (3 columns)
Cmd + Option + Shift + 2Split top/bottom (2 rows)
Cmd + Ctrl + 2Grid split (2x2)
Cmd + K, Cmd + BToggle sidebar
Cmd + Shift + PCommand Palette
Cmd + Option + TLift current file to a new window
Snippets 5
TabExpand snippet
Cmd + Option + SpaceTrigger auto-completion
Cmd + SpaceTrigger snippet
Cmd + Option + PView current file syntax
Cmd + Shift + PCommand Palette (set syntax)
Tips
- Cmd+P is Sublime's killer feature; type part of a filename to jump quickly.
- Multi-cursor editing is Sublime's strength; Cmd+D batch-edits variable names.
- The Command Palette (Cmd+Shift+P) runs almost any command without memorizing shortcuts.
- Goto Anything (Cmd+P) supports :line and @symbol syntax, e.g. file.js:42 or file.js@function.
- After installing Package Control you can extend features; press Cmd+Shift+P and type install.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Jul 21, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact Us