1. file quick navigation: This is one of the very useful functions of sublime. CTRL + P can call up the window. The menu is interpreted as gotoanythings. As said, after the window is called up, enter the keyword directly, you can perform quick file name navigation in the opened project folder, and fuzzy search is supported. It is very convenient for students who do not want to open the folder all the time, and add the following in the window: the prefix is the line jump (CTRL + G), and the @ (CTRL + r) prefix is the ID keyword navigation in HTML, and each rule navigation in CSS, in JS, It is the navigation of each function.
2. In command line mode, CTRL + 'can call up the command line mode (View-> show console). It mainly supports Python syntax and so on. you can exit quit () without trial .. However, the sublime plug-in platform package controller can be installed using command lines.
3. CTRL + z undo Ctrl + y resume undo
4. CTRL + d (Press and hold-continue to select the next same string) Ctrl + F search is to select all the same on this page, and then press the keyboard to replace all
5. CTRL + Shift + F is in this project by default (most used ). it may also be used for searching in folders. Unlike normal editing, sublime allows multiple folders to be added for searching (add directory)
6. Press Ctrl + L to select the entire line (Press and hold-continue to select the downstream line, that is, press and hold CTRL without pressing l at a time to select more lines)
7. CTRL + Shift + k Delete the entire row, CTRL + KK delete from the cursor to the end of the row
8. CTRL +/single line comment, CTRL + Shift +/block comment (comments have been selected), sublime will automatically select the comment mode based on the language
9. CTRL + enter insert row after cursor Ctrl + Shift + enter insert row before cursor
10. CTRL + F2 can be used to add a token, F2 can switch between the tokens, and shift + F2 can be used to add a bookmark. It is uncomfortable that you cannot add a tag with the mouse.
11. In the menu view-syntax, you can highlight the current surface in the specified language. Generally, sublime will automatically determine and select
12. snippets code snippet plug-in. Under the tools-snippets menu, you can view the snippets supported on the current page. You can add a tab after the acronyms to automatically complete snippets. snippets can also be expanded from the plug-in installed.
13. build Compilation: You can compile Ruby and other code. After installing Yui compressor, You can compress it on the css js page. The shortcut key is Ctrl + B, XX is automatically generated in the current directory. min. javascript, xx.min.css, and other compressed files
14. in the preferences menu, there are various configuration files. Different from other editors, sublime does not provide visual configuration, and all software configurations and shortcut keys are available. manual configuration in the XML file. settings-default is the default configuration of the system. It is recommended that you do not modify the settings. The items to be modified are stored in settings-user, such as font-size, key-bindings is the shortcut key configuration, color scheme is the code color scheme selection, sublime itself provides a lot of good color schemes
15. In the lower-right corner of the page, you can quickly set the tab to spaces menu. You can specify the tab width of the page or convert all tabs of the page to the specified number of spaces
16. Other shortcut keys
CTRL + [and CTRL +] (I used to change the shortcut keys ).
CTRL + up, CTRL + down can scroll the screen in one row,
Pageup Pagedown page by page
CTRL + Shift + A: the HTML Tag content can be uploaded step by step every time,
CTRL + Shift + space can select the block {content} in JS and other languages },
CTRL + Shift + D copy the entire row where the cursor is located and insert it before this row
CTRL + J merge rows (multiple rows to be merged have been selected)
CTRL + Ku to uppercase
CTRL + KL to lowercase
CTRL + M cursor jump to the corresponding brackets (brackethighlighter plug-in is better)
CTRL + Shift + M select the content in the brackets (Press and hold-continue to select the parent bracket)
Alt +. Close the current tag
CTRL + Shift + A select the cursor position parent tag
CTRL + Shift + [collapse code
CTRL + Shift +] Show Code
CTRL + KT fold Property
CTRL + K0 show all
CTRL + u soft undo
CTRL + T word Interchange
Tab indent automatically completed
Shift + TAB remove indentation
CTRL + Shift + swap and uplink swap
CTRL + Shift + swap and downstream
CTRL + k backspace Delete from cursor to first line
17. When you add a smart code block, the system prompts tools-> New snippet (Save the suffix as. sublime-snippet on a Mac machine)
Content: The code must be placed in CDATA, and $1 represents the cursor position. It is convenient to edit the class name tabtrigger: shortcut key scope: the response range can be html css js files and other description: code description text in the prompt box when entering the shortcut key