Skip to the main content

Sublime Text keyboard shortcuts

Default keymap for navigation, multiple cursors, and editing.

18 shortcuts Mac and Windows

Print all 18 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.

Matching shortcuts
Action Keys Row actions
Open the command palette Editor Not yet source checked Mac CmdShiftP 1 more variant Source
Go to anything Editor Not yet source checked Mac CmdP 1 more variant Source
Go to a line Editor Not yet source checked Mac CtrlG 1 more variant Source
Go to a symbol Editor Not yet source checked Mac CmdR 1 more variant Source
Add the next matching selection Editor Not yet source checked Mac CmdD 1 more variant Source
Split the selection into lines Multi line selection Not yet source checked Mac CmdShiftL 1 more variant Source
Duplicate the line Editor Not yet source checked Mac CmdShiftD 1 more variant Source
Delete the line Editor Not yet source checked Mac CmdShiftK 1 more variant Source
Toggle a line comment Editor Not yet source checked Mac Cmd/ 1 more variant Source
Toggle a block comment Editor Not yet source checked Mac CmdShift/ 1 more variant Source
Find Editor Not yet source checked Mac CmdF 1 more variant Source
Find in files Project Not yet source checked Mac CmdShiftF 1 more variant Source
Replace Editor Not yet source checked Mac CmdOptionF 1 more variant Source
Indent the line Editor Not yet source checked Mac Cmd] 1 more variant Source
Outdent the line Editor Not yet source checked Mac Cmd[ 1 more variant Source
Show or hide the sidebar Editor Not yet source checked Mac CmdKCmdB 1 more variant Source
Create a file Editor Not yet source checked Mac CmdN 1 more variant Source
Select the whole line Editor Not yet source checked Mac CmdL 1 more variant Source

About Sublime Text and its shortcuts

Sublime Text made several ideas ordinary that other editors later copied: fuzzy file opening, the command palette and multiple selections. Its shortcut set is small, fast and consistent, and the multiple selection commands in particular replace a whole category of find and replace work.

Sublime's bindings are fully user editable through its own key map files, so a configured installation can differ completely from a fresh one. Packages installed from the community also add their own.

Where the Sublime Text keys came from

Read from 1 documentation page published by the makers of Sublime Text. Report a key that is wrong

To see how one action is done in other apps as well as Sublime Text, browse the shortcuts by task. Shortcuts by task