Skip to content

↑↓ moveEnter openEsc close

Sublime Text keyboard shortcuts for Mac

Sublime Text 4 (Build 4200) · 52 shortcuts · checked Nov 2026 · Source: Sublime HQ docs

52 default Sublime Text shortcuts on Mac, grouped by task.

52 shortcuts
Keys:

General

10 shortcuts
ActionKeys
Command paletteShiftCmdP
Goto Anything (open a file)CmdP
Go to a symbol in the fileCmdR
Go to a symbol in the projectShiftCmdR
Go to a lineCtrlG
Show or hide the side barCmdK,CmdB
Full screenCtrlCmdF
Distraction-free modeCtrlShiftCmdF
Show or hide the consoleCtrl`
BuildCmdB

Files and tabs

9 shortcuts
ActionKeys
New fileCmdN
SaveCmdS
Save asShiftCmdS
Close the fileCmdW
Reopen the closed fileShiftCmdT
Next tabOptionCmd→
Previous tabOptionCmd←
Two-column layoutOptionCmd2
Single-column layoutOptionCmd1

Editing

15 shortcuts
ActionKeys
Duplicate the lineShiftCmdD
Delete the lineCtrlShiftK
Move the line upCtrlCmd↑
Move the line downCtrlCmd↓
Insert a line afterCmdEnter
Insert a line beforeShiftCmdEnter
Join linesCmdJ
Comment or uncomment the lineCmd/
Block commentOptionCmd/
IndentCmd]
UnindentCmd[
Jump to the matching bracketCtrlM
Convert to upper caseCmdK,CmdU
Convert to lower caseCmdK,CmdL
Sort linesF5

Selection

8 shortcuts
ActionKeys
Add the next match to the selectionCmdD
Skip this match and add the nextCmdK,CmdD
Select all matchesCtrlCmdG
Undo the last selectionCmdU
Select the lineCmdL
Split the selection into linesShiftCmdL
Expand the selection to bracketsCtrlShiftM
Add a cursor on the line belowCtrlShift↓
6 shortcuts
ActionKeys
FindCmdF
ReplaceOptionCmdF
Find nextCmdG
Find previousShiftCmdG
Find in filesShiftCmdF
Go to definitionF12

Code folding

4 shortcuts
ActionKeys
FoldOptionCmd[
UnfoldOptionCmd]
Fold allCmdK,Cmd1
Unfold allCmdK,CmdJ

These are the default Sublime Text key bindings on Mac, from Sublime HQ's official list for version 4 (Build 4200). Shortcuts that exist only on another system are left out here; the all-systems view shows every binding side by side.

Other systems: Sublime Text shortcuts for Windows, Sublime Text shortcuts for Linux. Or print the Sublime Text cheat sheet.