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+/ Yes Source
Add Cursor Below Add cursor on line below Ctrl+Alt+Down Cmd+Option+Down Yes Source
Add Cursor Above Add cursor on line above Ctrl+Alt+Up Cmd+Option+Up Yes Source
Duplicate Line Duplicate current line Ctrl+Shift+D Cmd+Shift+D Yes Source
Delete Line Delete current line Ctrl+Shift+K Cmd+Shift+K Yes Source
Join Lines Join selected lines Ctrl+J Cmd+J Yes Source
Move Line Up Move line up Ctrl+Shift+Up Cmd+Shift+Up Yes Source
Move Line Down Move line down Ctrl+Shift+Down Cmd+Shift+Down Yes Source

File

ActionDescriptionWindowsMacVerifiedSource
New File Create new file Ctrl+N Cmd+N Yes Source
Open File Open file Ctrl+O Cmd+O Yes Source
Save Save file Ctrl+S Cmd+S Yes Source

Formatting

ActionDescriptionWindowsMacVerifiedSource
Sort Lines Sort lines alphabetically F9 F9 Yes Source
Indent Indent selection Ctrl+] Cmd+] Yes Source
Unindent Unindent selection Ctrl+[ Cmd+[ Yes Source

General

ActionDescriptionWindowsMacVerifiedSource
Command Palette Show command palette Ctrl+Shift+P Cmd+Shift+P Yes Source

Navigation

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

Search

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

Selection

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

View

ActionDescriptionWindowsMacVerifiedSource
Fold Fold code Ctrl+Shift+[ Cmd+Shift+[ Yes Source
Unfold Unfold code Ctrl+Shift+] Cmd+Shift+] Yes Source
Fold All Fold all regions Ctrl+K+Ctrl+1 Ctrl+K+Ctrl+1 Yes Source
Unfold All Unfold all regions Ctrl+K+Ctrl+J Ctrl+K+Ctrl+J Yes Source
Toggle Sidebar Toggle sidebar Ctrl+K+Ctrl+B Ctrl+K+Ctrl+B Yes Source
Toggle Full Screen Toggle full screen F11 F11 Yes Source
Distraction Free Enter distraction free mode Shift+F11 Shift+F11 Yes Source

Window

ActionDescriptionWindowsMacVerifiedSource
Close Tab Close current tab Ctrl+W Cmd+W Yes Source
Switch Tab Switch to next tab Ctrl+Tab Cmd+Tab Yes Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…