Skip to content

↑↓ moveEnter openEsc close

Close the file in Sublime Text

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

In Sublime Text, press Cmd+W (Mac), Ctrl+W (Windows, Linux).

What else uses Cmd+W? · What else uses Ctrl+W?

More Sublime Text shortcuts: files and tabs

ActionMacWindowsLinux
New fileCmdNCtrlNCtrlN
SaveCmdSCtrlSCtrlS
Save asShiftCmdSCtrlShiftSCtrlShiftS
Reopen the closed fileShiftCmdTCtrlShiftTCtrlShiftT
Next tabOptionCmd→CtrlPageDownCtrlPageDown
Previous tabOptionCmd←CtrlPageUpCtrlPageUp
Two-column layoutOptionCmd2AltShift2AltShift2
Single-column layoutOptionCmd1AltShift1AltShift1

All 52 Sublime Text shortcuts