Before the Mu class online watch sublime video, today while there is time to tidy up a bit.
Video Portal: http://www.imooc.com/learn/333
New file: Ctrl +n
To set the syntax mode: Ctrl+shift + P
For example, to set the JS file, open the Command box, enter: Ss:js
Create a HTML5 file:! +tab
gotoanything: Ctrl +p
- Enter the file name directly to make a fuzzy lookup
- : + line number, jump directly to the specified line number (find a row with a shortcut key ctrl+g, enter the line number directly)
- @ + function name, quick Find to established function, @+css selector name, Quick Find style (with a direct shortcut key Ctrl+r)
- # + keyword, you can match to the keyword (there is a direct shortcut key CTRL +;)
Indent:
- CTRL + [Cancel Indent
- Ctrl +] Indent
Select BOC/Word:
- Ctrl + Enter To select the next line in the row where the cursor is located
- Ctrl + L selects the cursor in the row
- Ctrl + D To select the word where the cursor is located
Move the cursor to the previous line of the cursor: Ctrl+shift+enter
Multi-line cursors: Ctrl + d,ctrl+k with (check next)
Exit multi-line cursor: ESC
Full Page Select selected word: alt+f3
Copy cursor line: Ctrl + Shift +d
Keep indentation when copying and pasting: ctrl+shift+v
Comments:
- ctrl+/Annotation Select row
- Ctrl + SHIFT +/Segment Comment
Show/Hide Sidebar
- Ctrl+k Display Sidebar
- Ctrl +d Hide Sidebar
Sublime Text 3 Common shortcut keys