This is a complete reference for Sublime Text keyboard shortcuts, valid for both Sublime Text 3 and 4. Pick your operating system, then filter by action or key combination to find what you need. It covers Goto Anything, the editor’s famous multiple-selection commands, editing, search and window layout.
How it works
Sublime Text uses default key bindings that differ between macOS and Windows/Linux, mainly swapping Command for Control. The tool stores both for each action and shows whichever matches the OS you select, guessing your platform on first load. Search matches the action, the group and either key column, so you can look up “goto”, “duplicate line” or a chord such as “ctrl shift k”. The group filter narrows the table to one area — for example every Selection command — when you want to master a feature.
The shortcuts that define the Sublime workflow
Sublime Text has a distinctive set of commands that set it apart. These are worth memorising first because they appear in almost every editing session:
Navigation
- Goto Anything (
Cmd+P/Ctrl+P) — fuzzy-searches files in the open project. Append@to jump to a symbol within the matched file,:to go to a line number, or#to search within the file. All three modifiers compose. - Goto Symbol in Project (
Cmd+Shift+R/Ctrl+Shift+R) — searches symbols across the entire project, not just the current file. - Jump to line (
Ctrl+Gon all platforms) — quick line-number navigation.
Multi-cursor and selection
- Select next occurrence (
Cmd+D/Ctrl+D) — selects the word under the cursor, then each additional press adds the next matching instance to the selection. Edit all of them simultaneously. - Select all occurrences (
Ctrl+Cmd+G/Alt+F3) — selects every instance of the current word or selection at once without stepping through one by one. - Column (block) select — hold
Optionand drag on macOS, or use middle-click on Windows/Linux, to place one cursor per line in a vertical block. - Split selection into lines (
Cmd+Shift+L/Ctrl+Shift+L) — if you have a multi-line selection, this places one cursor at the end of each selected line.
Editing
- Duplicate line (
Cmd+Shift+D/Ctrl+Shift+D) — instantly copies the current line or selection below itself. - Move line up/down (
Ctrl+Cmd+Up/Down/Ctrl+Shift+Up/Down) — reorders lines without cut and paste. - Join lines (
Cmd+J/Ctrl+J) — collapses the selected lines into one, removing the newlines between them. - Toggle comment (
Cmd+//Ctrl+/) — comments or uncomments the selected lines using the correct syntax for the current file type.
Symbol key (macOS)
Sublime’s cheat-sheet notation follows Apple’s symbol convention:
| Symbol | Key |
|---|---|
| ⌘ | Command |
| ⌥ | Option / Alt |
| ⌃ | Control |
| ⇧ | Shift |
| ↩ | Return / Enter |
Everything runs in your browser; the shortcut list is stored locally and nothing is uploaded.