Sublime Text3 常用的一些快捷键操作:包括跳转,编辑,选择,查找等。
Goto Anything (Navigation)
- Goto Anything:
Ctrl + P
- Goto Symbol:
Ctrl + R
- Goto Line:
Ctrl + G
Editing text
- Insert line before / after -
Ctrl + Shift + Return
/Ctrl + Return
- Copy line / Paste from history -
Ctrl + C
/Ctrl + K, Ctrl + V
- Delete to beginning / end -
Ctrl + Shift + Backspace
/Ctrl + K
- Delete / Cut a line -
Ctrl + Shift + K
/Ctrl + X
- Soft Undo / Redo -
Ctrl + U
/Ctrl + Shift + U
- Upper / lower case -
Ctrl + K, Ctrl + U
/Ctrl + K, Ctrl + L
- Joining Lines -
Ctrl + J
- Bubble the line up / down -
Ctrl + Shift + up
/Ctrl + Shift + down
- Sort a line -
F9
- Duplicating a line -
Ctrl + Shift + D
- Indent - Unindent -
Ctrl + ]
,Ctrl + [
- Commenting a line -
Ctrl + /
- Close HTML tag -
Alt + .
- Wrap line at ruler -
Alt + Q
- Transpose -
Ctrl + T
Selection
- Multiple selection -
Ctrl + clicks at multiple places
- Column Selection -
Ctrl + Alt + Up
orCtrl + Alt + Down
/Esc
for going back to single - Split block of selection into multiple lines -
Ctrl + Shift + L
- Select word with multiple occurrences -
Ctrl + D
- Quick skip -
Ctrl + K, Ctrl + D
- Selecting a line -
Ctrl + L
- Expand selection to brackets -
Ctrl + Shift + M
- Expand selection to indentation -
Ctrl + Shift + J
- Expand selection to scope -
Ctrl + Shift + Space
Navigation
- Goto symbol in project -
Ctrl + Shift + R
- Goto definition -
F12
- Goto beginning / end of a line -
Home
/End
- Goto matching bracket -
Ctrl + M
- Move back / forward in history -
Alt + -
/Alt + Shift + -
- Code fold / unfold -
Ctrl + Shift + [
/Ctrl + Shift + ]
Find
- Find -
Ctrl + F
- Find next -
F3
- Find previous -
Shift + F3
- Find all -
Alt + Return
(while find window is open) - Use selection to find -
Ctrl + E
- Incremental find -
Ctrl + I
- Incremental find previous -
Ctrl + Shift + I
- Find all with incremental find -
Alt + Return
(while the panel is open) - Replace panel -
Ctrl + H
- Replace next -
Ctrl + Shift + H
- Replace all -
Ctrl + Alt + Return
(Only when replace panel is open) - Add selection to replace -
Ctrl + Shift + E
- Quick find -
Ctrl + F3
- Quick find previous -
Ctrl + Shift + F3
- Quick find all -
Alt + F3
- Find in project -
Ctrl + Shift + F
Others
- Opening User settings -
^ + ,
- Python Console -
^ + Backticks
- Command Palette -
Ctrl + Shift + P