Sublime Text Keyboard Shortcuts

Sublime Text keyboard shortcut reference covering 33 bindings for Windows, Mac & Linux. Commonly searched bindings include Command Palette, Goto Anything, and Goto Symbol. 33 of 33 shortcuts are verified against official Sublime Text documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.

Official Sublime Text documentation

Editing

ActionDescriptionWindowsMacVerifiedSource
Toggle Comment Comment/uncomment selection Ctrl+/ Cmd+/ Windows, Linux Source
Add Cursor Below Add cursor on line below Ctrl+Alt+Down Cmd+Option+Down Windows, Linux Source
Add Cursor Above Add cursor on line above Ctrl+Alt+Up Cmd+Option+Up Windows, Linux Source
Duplicate Line Duplicate current line Ctrl+Shift+D Cmd+Shift+D Windows, Linux Source
Delete Line Delete current line Ctrl+Shift+K Cmd+Shift+K Windows, Linux Source
Join Lines Join selected lines Ctrl+J Cmd+J Windows, Linux Source
Move Line Up Ctrl+Shift+Up Cmd+Shift+Up Windows, Linux Source
Move Line Down Ctrl+Shift+Down Cmd+Shift+Down Windows, Linux Source

File

ActionDescriptionWindowsMacVerifiedSource
New File Create new file Ctrl+N Cmd+N Windows, Linux Source
Open File Ctrl+O Cmd+O Windows, Linux Source
Save Save file Ctrl+S Cmd+S Windows, Linux Source

Formatting

ActionDescriptionWindowsMacVerifiedSource
Sort Lines Sort lines alphabetically F9 F9 Windows, macOS, Linux Source
Indent Indent selection Ctrl+] Cmd+] Windows, Linux Source
Unindent Unindent selection Ctrl+[ Cmd+[ Windows, Linux Source

General

ActionDescriptionWindowsMacVerifiedSource
Command Palette Show command palette Ctrl+Shift+P Cmd+Shift+P Windows, Linux Source

Navigation

ActionDescriptionWindowsMacVerifiedSource
Goto Anything Quickly navigate files and symbols Ctrl+P Cmd+P Windows, Linux Source
Goto Symbol Navigate to symbol in project Ctrl+R Cmd+R Windows, Linux Source
Goto Definition Go to definition F12 F12 Windows, macOS, Linux Source

Search

ActionDescriptionWindowsMacVerifiedSource
Find Find in file Ctrl+F Cmd+F Windows, Linux Source
Replace Find and replace Ctrl+H Cmd+H Windows, Linux Source
Find in Files Search across project Ctrl+Shift+F Cmd+Shift+F Windows, Linux Source
Incremental Find Incremental search Ctrl+I Cmd+I Windows, Linux Source

Selection

ActionDescriptionWindowsMacVerifiedSource
Select All Occurrences Select all matching selections Ctrl+Shift+L Cmd+Shift+L Windows, Linux Source
Split Selection Split selection into lines Ctrl+Shift+L Cmd+Shift+L Windows, Linux Source

View

ActionDescriptionWindowsMacVerifiedSource
Fold Fold code Ctrl+Shift+[ Cmd+Shift+[ Windows, Linux Source
Unfold Unfold code Ctrl+Shift+] Cmd+Shift+] Windows, Linux Source
Fold All Fold all regions Ctrl+K then Ctrl+1 Ctrl+K then Ctrl+1 Windows, Linux Source
Unfold All Unfold all regions Ctrl+K then Ctrl+J Ctrl+K then Ctrl+J Windows, Linux Source
Toggle Sidebar Ctrl+K then Ctrl+B Ctrl+K then Ctrl+B Windows, Linux Source
Toggle Full Screen F11 F11 Windows, macOS, Linux Source
Distraction Free Enter distraction free mode Shift+F11 Shift+F11 Windows, macOS, Linux Source

Window

ActionDescriptionWindowsMacVerifiedSource
Close Tab Close current tab Ctrl+W Cmd+W Windows, Linux Source
Switch Tab Switch to next tab Ctrl+Tab Cmd+Tab Windows, Linux Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…