Sublime Text Shortcuts
Master Sublime Text with powerful keyboard shortcuts for lightning-fast text editing!
Essential
Command Palette
CtrlShiftP
Go to Anything
CtrlP
Go to Symbol
CtrlR
Go to Line
CtrlG
Multi-Cursor & Selection
Add Next Occurrence
CtrlD
Select All Occurrences
AltF3
Split Selection into Lines
CtrlShiftL
Column Selection
ShiftRight Click
Add Cursor Above/Below
CtrlAlt↑↓
Editing
Duplicate Line
CtrlShiftD
Delete Line
CtrlShiftK
Join Lines
CtrlJ
Move Line Up/Down
CtrlShift↑↓
Toggle Comment
Ctrl/
Block Comment
CtrlShift/
Navigation & View
Toggle Sidebar
CtrlKCtrlB
Toggle Minimap
CtrlKCtrlM
Distraction Free Mode
ShiftF11
Full Screen
F11
Next File
CtrlTab
Previous File
CtrlShiftTab
Switch File
CtrlP
Goto Definition
F12
Search & Replace
Find
CtrlF
Replace
CtrlH
Find in Files
CtrlShiftF
Find Next
F3
Find Previous
ShiftF3
Incremental Find
CtrlI
Find Under Expand
CtrlD
Use Selection for Find
CtrlE
Use Selection for Replace
CtrlShiftE
Split View & Tabs
Single Column
AltShift1
Two Columns
AltShift2
Three Columns
AltShift3
Four Columns
AltShift4
Grid (4 Groups)
AltShift5
Two Rows
AltShift8
Focus Group 1
Ctrl1
Focus Group 2
Ctrl2
Move File to Group 1
CtrlShift1
Move File to Group 2
CtrlShift2
Bookmarks
Toggle Bookmark
CtrlF2
Next Bookmark
F2
Previous Bookmark
ShiftF2
Clear Bookmarks
CtrlShiftF2
Select All Bookmarks
AltF2
Text Manipulation
Transform to Uppercase
CtrlKCtrlU
Transform to Lowercase
CtrlKCtrlL
Transpose
CtrlT
Wrap Lines
AltQ
Sort Lines
F9
Sort Lines (Case Sensitive)
CtrlF9
Code Folding
Fold
CtrlShift[
Unfold
CtrlShift]
Fold All
CtrlKCtrl1
Unfold All
CtrlKCtrlJ
Fold Level 2
CtrlKCtrl2
Fold Tag Attributes
CtrlKCtrlT
Indent & Format
Indent
Ctrl]
Unindent
Ctrl[
Reindent Lines
CtrlShiftR
Paste and Indent
CtrlShiftV
File Management
New File
CtrlN
Open File
CtrlO
Save
CtrlS
Save As
CtrlShiftS
Close File
CtrlW
Close All Files
CtrlShiftW
Reopen Closed File
CtrlShiftT
Advanced Editing
Expand Selection to Scope
CtrlShiftSpace
Expand Selection to Brackets
CtrlShiftM
Expand Selection to Indentation
CtrlShiftJ
Expand Selection to Line
CtrlL
Expand Selection to Word
CtrlD
Soft Undo
CtrlU
Soft Redo
CtrlShiftU
Macros & Snippets
Record Macro
CtrlQ
Playback Macro
CtrlShiftQ
Show Completions
CtrlSpace
Build & Project
Build
CtrlB
Build With
CtrlShiftB
Cancel Build
CtrlBreak
Switch Project
CtrlAltP
More Editing
Delete to End of Line
CtrlKK
Delete to Beginning of Line
CtrlKBackspace
Insert Line Before
CtrlShiftEnter
Insert Line After
CtrlEnter
Show Console
Ctrl`
Jump to Matching Bracket
CtrlM
Select Between Brackets
CtrlShiftM
Delete Word Forward
CtrlDelete
Delete Word Backward
CtrlBackspace
Scroll Line Up
Ctrl↑
Scroll Line Down
Ctrl↓
Center Selection
CtrlKCtrlC
Show/Hide Console
Ctrl`
Previous View
Alt-
Next View
AltShift-
Jump Forward
AltShift-
Essential
Command Palette
⌘⇧P
Go to Anything
⌘P
Go to Symbol
⌘R
Go to Line
⌃G
Go to Definition
F12
Multi-Cursor & Selection
Add Next Occurrence
⌘D
Select All Occurrences
⌃⌘G
Add Cursor Above
⌃⇧↑
Add Cursor Below
⌃⇧↓
Split Selection into Lines
⌘⇧L
Expand Selection to Brackets
⌃⇧M
Expand Selection to Line
⌘L
Expand Selection to Word
⌘D
Editing
Duplicate Line
⌘⇧D
Delete Line
⌃⇧K
Move Line Up
⌘⌃↑
Move Line Down
⌘⌃↓
Join Lines
⌘J
Comment/Uncomment
⌘/
Block Comment
⌘⌥/
Indent
⌘]
Unindent
⌘[
Reindent
⌘⇧R
Search & Replace
Find
⌘F
Replace
⌘⌥F
Find in Files
⌘⇧F
Replace in Files
⌘⇧H
Find Next
⌘G
Find Previous
⌘⇧G
Incremental Find
⌘I
Use Selection for Find
⌘E
File Navigation
New File
⌘N
Open File
⌘O
Save
⌘S
Save As
⌘⇧S
Close Tab
⌘W
Reopen Last File
⌘⇧T
Switch Tab (Next)
⌘⇧]
Switch Tab (Previous)
⌘⇧[
Switch to Tab 1-9
⌘1-9
View & Layout
Toggle Sidebar
⌘K⌘B
Toggle Minimap
⌘K⌘M
Full Screen
⌃⌘F
Distraction Free Mode
⌃⇧⌘F
Single Column Layout
⌘⌥1
Two Column Layout
⌘⌥2
Grid Layout (2x2)
⌘⌥5
Focus Group
⌃1-4
Move File to Group
⌃⇧1-4
Bookmarks & Navigation
Toggle Bookmark
⌘F2
Next Bookmark
F2
Previous Bookmark
⇧F2
Clear Bookmarks
⌘⇧F2
Jump Back
⌃-
Jump Forward
⌃⇧-
Code Folding
Fold
⌘⌥[
Unfold
⌘⌥]
Fold All
⌘K⌘1
Unfold All
⌘K⌘J
Fold Level 1
⌘K⌘1
Fold Level 2
⌘K⌘2
Transform Text
Upper Case
⌘K⌘U
Lower Case
⌘K⌘L
Title Case
⌘K⌘T
Swap Case
⌘K⌘S
Sort Lines
F5
Sort Lines (Case Sensitive)
⌘F5
Macros & Build
Record Macro
⌃Q
Playback Macro
⌃⇧Q
Build
⌘B
Build With...
⌘⇧B
Cancel Build
⌃C
Spelling & Completion
Show Completions
⌃Space
Next Misspelling
F6
Previous Misspelling
⇧F6
Project & Workspace
Switch Project
⌃⌘P
Reveal in Sidebar
⌃⌘R
Show Console
⌃`