1. Home
  2. Keyboard Shortcuts
  3. Sublime Text
Code Editors & IDEs

Sublime Text Keyboard Shortcuts

105 shortcuts to edit code efficiently faster — the complete Sublime Text keyboard shortcut reference

Sublime Text keyboard shortcuts

Built by Sublime HQ, Sublime Text provides a full-featured environment to edit code efficiently. It is a staple in the code editors & IDEs space.

Learning keyboard shortcuts in Sublime Text can dramatically speed up repetitive tasks and free you to focus on the creative work that matters.

Sublime Text is available on macOS, Windows, and Linux, making these shortcuts useful no matter which operating system you prefer.

macOSWindowsLinux 105 SHORTCUTS 8 CATEGORIES
VISIT SUBLIME TEXT OFFICIAL WEBSITE ↗
SHOW SHORTCUTS FOR:
Jump to Section (8 sections)

Editing35 SHORTCUTS

Cut line Cmd+XCtrl+XCtrl+X
Copy Cmd+CCtrl+CCtrl+C
Paste Cmd+VCtrl+VCtrl+V
Undo Cmd+ZCtrl+ZCtrl+Z
Redo Shift+Cmd+ZCtrl+YCtrl+Y
Select All Cmd+ACtrl+ACtrl+A
Split the selection into multiple selections (allows typing in multiple lines) / Sp l it selection into lines Ctrl+Shift+LCtrl+Shift+LCtrl+Shift+L
Insert line after Ctrl+EnterCtrl+EnterCtrl+Enter
Insert line before Ctrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+Enter
Move line/selection up Ctrl+Shift+UpCtrl+Shift+UpCtrl+Shift+Up
Move line/selection down Ctrl+Shift+DownCtrl+Shift+DownCtrl+Shift+Down
Se l ect line - Repeat to select next lines Ctrl+LCtrl+LCtrl+L
Select wor d - Repeat select others occurrences Ctrl+DCtrl+DCtrl+D
Ju m p to closing parentheses. Repeat to jump to opening parentheses Ctrl+MCtrl+MCtrl+M
Select all contents of the current parentheses Ctrl+Shift+MCtrl+Shift+MCtrl+Shift+M
Delete line Ctrl+Shift+KCtrl+Shift+KCtrl+Shift+K
Delete from cursor to end of line Ctrl+K+KCtrl+K+KCtrl+K+K
Delete from cursor to start of line Ctrl+K+BackspaceCtrl+K+BackspaceCtrl+K+Backspace
Indent current line(s) Ctrl+]Ctrl+]Ctrl+]
Un-indent current line(s) Ctrl+[Ctrl+[Ctrl+[
D uplicate line(s) Ctrl+Shift+DCtrl+Shift+DCtrl+Shift+D
J oin line below to the end of the current line Ctrl+JCtrl+JCtrl+J
Comment/un-comment current line Ctrl+/Ctrl+/Ctrl+/
Block comment current selection Ctrl+Shift+/Ctrl+Shift+/Ctrl+Shift+/
Redo, or repeat last ke y board shortcut command Ctrl+YCtrl+YCtrl+Y
Paste and indent correctly Ctrl+Shift+VCtrl+Shift+VCtrl+Shift+V
Select next auto-complete suggestion Ctrl+SpaceCtrl+SpaceCtrl+Space
Soft u ndo; jumps to your last change before undoing change when repeated Ctrl+UCtrl+UCtrl+U
Quick Skip Next Ctrl+K+DCtrl+K+DCtrl+K+D
W rap Selection in html tag Opt+Shift+WAlt+Shift+WAlt+Shift+W
Close current html tag Opt+.Alt+.Alt+.
Column selection up N/ACtrl+Alt+UpN/A
Column selection down N/ACtrl+Alt+DownN/A
Column selection up N/AN/AAlt+Shift+Up
Column selection down N/AN/AAlt+Shift+Down

Navigation/Go to Anywhere5 SHORTCUTS

Go to Line Cmd+PCtrl+PCtrl+P
Quick-o p en files by name Ctrl+PCtrl+PCtrl+P
Go to symbol Ctrl+RCtrl+RCtrl+R
Go to word in current file Ctrl+;Ctrl+;Ctrl+;
G o to line in current file Ctrl+GCtrl+GCtrl+G

General6 SHORTCUTS

Save Cmd+SCtrl+SCtrl+S
Toggle full screen F11F11F11
Command p rompt Ctrl+Shift+PCtrl+Shift+PCtrl+Shift+P
Toggle side b ar Ctrl+K+BCtrl+K+BCtrl+K+B
Show sco p e in status bar Ctrl+Opt+Shift+PCtrl+Alt+Shift+PCtrl+Alt+Shift+P
Featured shortcut N/ACtrl+DCtrl+D

Find/Replace8 SHORTCUTS

Find Cmd+FCtrl+FCtrl+F
Find in Files Shift+Cmd+FCtrl+Shift+FCtrl+Shift+F
Replace Opt+Cmd+FCtrl+HCtrl+H
F ind Ctrl+FCtrl+FCtrl+F
Replace Ctrl+HCtrl+HCtrl+H
F ind in files Ctrl+Shift+FCtrl+Shift+FCtrl+Shift+F
Add all occurrences of the current word to the selection Opt+F3Alt+F3Alt+F3
Go from multiple selections to a single selection EscEscEsc
The BuildBox Macropad Puts Keyboard Shortcuts at Your Fingertips! LEARN MORE →

Tabs24 SHORTCUTS

Close file Cmd+WCtrl+WCtrl+W
Switch to tab by index (1 to 9) Cmd+1Ctrl+1Ctrl+1
Switch to tab by index (1 to 9) Cmd+2Ctrl+2Ctrl+2
Switch to tab by index (1 to 9) Cmd+3Ctrl+3Ctrl+3
Switch to tab by index (1 to 9) Cmd+4Ctrl+4Ctrl+4
Switch to tab by index (1 to 9) Cmd+5Ctrl+5Ctrl+5
Switch to tab by index (1 to 9) Cmd+6Ctrl+6Ctrl+6
Switch to tab by index (1 to 9) Cmd+7Ctrl+7Ctrl+7
Switch to tab by index (1 to 9) Cmd+8Ctrl+8Ctrl+8
Switch to tab by index (1 to 9) Cmd+9Ctrl+9Ctrl+9
Open las t closed tab Ctrl+Shift+TCtrl+Shift+TCtrl+Shift+T
Cycle up through tabs Ctrl+PageUpCtrl+PageUpCtrl+PageUp
Cycle down through tabs Ctrl+PageDownCtrl+PageDownCtrl+PageDown
Find in files Ctrl+TabCtrl+TabCtrl+Tab
Close current tab Ctrl+WCtrl+WCtrl+W
Switch to a specific tab Opt+1Alt+1Alt+1
Switch to a specific tab Opt+2Alt+2Alt+2
Switch to a specific tab Opt+3Alt+3Alt+3
Switch to a specific tab Opt+4Alt+4Alt+4
Switch to a specific tab Opt+5Alt+5Alt+5
Switch to a specific tab Opt+6Alt+6Alt+6
Switch to a specific tab Opt+7Alt+7Alt+7
Switch to a specific tab Opt+8Alt+8Alt+8
Switch to a specific tab Opt+9Alt+9Alt+9

Split window18 SHORTCUTS

Focus group above Shift+Cmd+1Ctrl+Shift+1Ctrl+Shift+1
Focus group below Shift+Cmd+2Ctrl+Shift+2Ctrl+Shift+2
Focus group left Shift+Cmd+3Ctrl+Shift+3Ctrl+Shift+3
Focus group right Shift+Cmd+4Ctrl+Shift+4Ctrl+Shift+4
Revert view to single column Opt+Shift+1Alt+Shift+1Alt+Shift+1
Split view into two columns Opt+Shift+2Alt+Shift+2Alt+Shift+2
Split view into three columns Opt+Shift+3Alt+Shift+3Alt+Shift+3
Split view into four columns Opt+Shift+4Alt+Shift+4Alt+Shift+4
Set view to grid (4 groups) Opt+Shift+5Alt+Shift+5Alt+Shift+5
Split view into two rows Opt+Shift+8Alt+Shift+8Alt+Shift+8
... to 4: Jump to group 1-4 Ctrl+1Ctrl+1Ctrl+1
... to 4: Jump to group 1-4 Ctrl+2Ctrl+2Ctrl+2
... to 4: Jump to group 1-4 Ctrl+3Ctrl+3Ctrl+3
... to 4: Jump to group 1-4 Ctrl+4Ctrl+4Ctrl+4
Move file to specified group between 1-4 Ctrl+Shift+1Ctrl+Shift+1Ctrl+Shift+1
Move file to specified group between 1-4 Ctrl+Shift+2Ctrl+Shift+2Ctrl+Shift+2
Move file to specified group between 1-4 Ctrl+Shift+3Ctrl+Shift+3Ctrl+Shift+3
Move file to specified group between 1-4 Ctrl+Shift+4Ctrl+Shift+4Ctrl+Shift+4

Bookmarks5 SHORTCUTS

Toggle bookmark Cmd+F2Ctrl+F2Ctrl+F2
Next bookmark F2F2F2
Previous bookmark Shift+F2Shift+F2Shift+F2
Toggle bookmark Ctrl+F2Ctrl+F2Ctrl+F2
Clear bookmarks Ctrl+Shift+F2Ctrl+Shift+F2Ctrl+Shift+F2

Text manipulation4 SHORTCUTS

Convert case to lowercase Cmd+K+UCtrl+K+UCtrl+K+U
Convert case to uppercase Cmd+K+LCtrl+K+LCtrl+K+L
Transform to u ppercase Ctrl+K+UCtrl+K+UCtrl+K+U
Transform to l owercase Ctrl+K+LCtrl+K+LCtrl+K+L

Noticed errors or keyboard shortcuts that don't work? Please let us know about them here →

The BuildBox Macropad Unlocks Thousands of Keyboard Shortcuts For Any App

The BuildBox Macropad
Available early December

That's why the BuildBox Macropad is the Ultimate Shortcut Machine. One device with infinite shortcuts available at your fingertips, plus a HUGE display showing what each key does, and a magnet-powered zero-friction scroll wheel that moves through documents, video, audio and graphic editing apps like butter!

Enter your Email to get your hands on a launch batch BuildBox (limited: 200 available):

Keyboard Shortcuts for Similar Applications