Sublime Text keyboard shortcuts
Windows · version 4 (Build 4200) · 52 shortcuts
Hotkeypediahotkeypedia.com
General
- Command paletteShiftCmdPCtrlShiftPCtrlShiftP
- Goto Anything (open a file)CmdPCtrlPCtrlP
- Go to a symbol in the fileCmdRCtrlRCtrlR
- Go to a symbol in the projectShiftCmdRCtrlShiftRCtrlShiftR
- Go to a lineCtrlGCtrlGCtrlG
- Show or hide the side barCmdK,CmdBCtrlK,CtrlBCtrlK,CtrlB
- Full screenCtrlCmdFF11F11
- Distraction-free modeCtrlShiftCmdFShiftF11ShiftF11
- Show or hide the consoleCtrl`Ctrl`Ctrl`
- BuildCmdBCtrlBCtrlB
Files and tabs
- New fileCmdNCtrlNCtrlN
- SaveCmdSCtrlSCtrlS
- Save asShiftCmdSCtrlShiftSCtrlShiftS
- Close the fileCmdWCtrlWCtrlW
- Reopen the closed fileShiftCmdTCtrlShiftTCtrlShiftT
- Next tabOptionCmd→CtrlPageDownCtrlPageDown
- Previous tabOptionCmd←CtrlPageUpCtrlPageUp
- Two-column layoutOptionCmd2AltShift2AltShift2
- Single-column layoutOptionCmd1AltShift1AltShift1
Editing
- Duplicate the lineShiftCmdDCtrlShiftDCtrlShiftD
- Delete the lineCtrlShiftKCtrlShiftKCtrlShiftK
- Move the line upCtrlCmd↑CtrlShift↑CtrlShift↑
- Move the line downCtrlCmd↓CtrlShift↓CtrlShift↓
- Insert a line afterCmdEnterCtrlEnterCtrlEnter
- Insert a line beforeShiftCmdEnterCtrlShiftEnterCtrlShiftEnter
- Join linesCmdJCtrlJCtrlJ
- Comment or uncomment the lineCmd/Ctrl/Ctrl/
- Block commentOptionCmd/CtrlShift/CtrlShift/
- IndentCmd]Ctrl]Ctrl]
- UnindentCmd[Ctrl[Ctrl[
- Jump to the matching bracketCtrlMCtrlMCtrlM
- Convert to upper caseCmdK,CmdUCtrlK,CtrlUCtrlK,CtrlU
- Convert to lower caseCmdK,CmdLCtrlK,CtrlLCtrlK,CtrlL
- Sort linesF5F9F9
Selection
- Add the next match to the selectionCmdDCtrlDCtrlD
- Skip this match and add the nextCmdK,CmdDCtrlK,CtrlDCtrlK,CtrlD
- Select all matchesCtrlCmdGAltF3AltF3
- Undo the last selectionCmdUCtrlUCtrlU
- Select the lineCmdLCtrlLCtrlL
- Split the selection into linesShiftCmdLCtrlShiftLCtrlShiftL
- Expand the selection to bracketsCtrlShiftMCtrlShiftMCtrlShiftM
- Add a cursor on the line belowCtrlShift↓CtrlAlt↓AltShift↓
Search
- FindCmdFCtrlFCtrlF
- ReplaceOptionCmdFCtrlHCtrlH
- Find nextCmdGF3F3
- Find previousShiftCmdGShiftF3ShiftF3
- Find in filesShiftCmdFCtrlShiftFCtrlShiftF
- Go to definitionF12F12F12
Code folding
- FoldOptionCmd[CtrlShift[CtrlShift[
- UnfoldOptionCmd]CtrlShift]CtrlShift]
- Fold allCmdK,Cmd1CtrlK,Ctrl1CtrlK,Ctrl1
- Unfold allCmdK,CmdJCtrlK,CtrlJCtrlK,CtrlJ