Sublime Text Keyboard Shortcuts

Sublime Text keeps the same shortcut logic across all three platforms, only the modifier changes: Ctrl on Windows and Linux, Cmd on Mac. Ctrl+D for multi-selection and Ctrl+K prefixes for line and fold operations are the shortcuts worth learning first. HKeys covers Sublime Text on Windows, Mac, and Linux.

Choose your Platform: full shortcut list + printable PDF

Windows and Linux Ctrl is the modifier throughout, and the two platforms share nearly identical bindings. Windows adds a multi-cursor shortcut (Ctrl+Alt+Up/Down); Linux uses that same chord for column selection instead.

Mac Cmd replaces Ctrl for most commands, but several editing shortcuts still use Ctrl (Select next auto-complete suggestion, multi-cursor placement), matching macOS's own mix of Cmd and Ctrl conventions.

What Sublime Text shortcuts cover

Multi-cursor and selection. Ctrl+D (Cmd+D on Mac) selects the next occurrence of the current word, repeatable to build up multiple selections for simultaneous editing.

Ctrl+K prefixed commands. Delete-to-end-of-line, toggle the sidebar, transform case, and fold-by-level all live under a Ctrl+K, then a second key.

Goto Anywhere. Ctrl+P (Cmd+P) opens fuzzy file search; combine it with @ for symbols or : for a line number without leaving the box.

Split windows. Alt+Shift+1 through 9 on Windows and Linux (Cmd+Option+1-5 on Mac) switch between single-column, multi-column, and grid layouts.

Folding. Ctrl+K, Ctrl+1 through Ctrl+K, Ctrl+9 fold code by indentation level, useful for collapsing a large file down to its outline.

Printable PDF

A printable PDF of Sublime Text shortcuts is available for each platform. The multi-cursor and Ctrl+K chord shortcuts are the ones worth learning first.

FAQ

Are Sublime Text's keyboard shortcuts the same on Windows, Mac, and Linux?

Mostly, yes. Windows and Linux share almost every binding with Ctrl as the modifier; Mac uses Cmd for most of the same commands but keeps Ctrl for a handful, like multi-cursor placement and auto-complete. The logic transfers even where the exact key doesn't.

What does Ctrl+D do in Sublime Text?

Select word: the first press selects the word under the cursor, and each additional press adds the next occurrence of that word to the selection, so you can edit all of them at once.

How do I select multiple lines and edit them together in Sublime Text?

Ctrl+D (Cmd+D on Mac) repeatedly for matching words, or Ctrl+Shift+Up/Down (Ctrl+Shift+Up/Down on Mac too) to add an extra cursor on the line above or below. Any typing or command then applies to every cursor at once.

What's the fastest way to open a file in Sublime Text?

Ctrl+P (Cmd+P on Mac) opens Goto Anywhere, a fuzzy-search box for file names. Typing @ after the file name jumps to symbol search, and : jumps to a specific line number.

References

This section lists official sources and documentation for Sublime Text. Use these references to verify shortcut behavior instead of trusting old notes, screenshots, or memory.

Want to suggest a new app, report a bug, or get help? Email us at info@hkeys.app.

For anything else or just a quick hello, write to us at info@hkeys.app.