~ 3 min read

Sublime Text Shortcuts

⌘ = command

⌥ = option

= ⇧

⌃ = control

Open/Goto

Shortcut Action
T go to file
P go to project
R go to methods
⇧ P command prompt
G go to line
` Python console

Editing

Shortcut Action
L select line (repeat select next lines)
D select word
repeat to select others or multiple editing
⇧ M select content into brackets
⇧ Enter insert line before
Enter inter line after
⇧ K delete line
K-K delete from cursor to end of line
K-Delete delete from cursor to start of line
⇧ D duplicate line(s)
J join lines
K-U upper case
k-L lower case
/ comment -> line or selection
/ block comment
Y redo or repeat
⇧ Z paste and ident
Space autocomplete
repeat to select next suggestion
M jump to matching brackets

XML/HTML

Shortcut Action
A select content into tag
. close tag

Find/Replace

Shortcut Action
F find
F replace
G find next occurrence of current word
G select all occurrences of current word
(multiple editing)
F find in files

Splits/Tabs

Shortcut Action
1 Single column
2 Two columns
5 Grid (4 groups)
[1,2,3,4] Focus group
⇧[1,2,3,4] Move file to group
[1,2,3...] Select tab

Bookmarks

Shortcut Action
F2 Toggle bookmark
F2 next bookmark
⇧ F2 previous bookmark
⇧ F2 clear bookmarks

Marks

Shortcut Action
K-W delete from cursor to mark
K-A select from cursor to mark
K-G clear mark