Summary of Sublime Text 3 shortcut keys
The following is a summary of incomplete shortcut keys. I wish you all the best to liberate your mouse.
Select CLA
Ctrl+D selects the text occupied by the cursor, and if you continue, the next same text will be selected.
Alt+F3 select Chinese text by pressing the shortcut key, you can select all the same text at one time for editing at the same time. Take a chestnut: quickly select and change all the same variable names, function names, etc.
Ctrl+L selects the entire row and continues to select the next row, which has the same effect as Shift+ ↓.
Ctrl+Shift+L selects multiple lines and then presses the shortcut key to insert a cursor at the end of each line to edit them at the same time.
Ctrl+Shift+M selects what is in parentheses (continue selecting parent parentheses). Take a chestnut: quickly select the code in the delete function, rewrite the function body code, or rewrite the contents in parentheses.
The Ctrl+M cursor moves to the end or start position in parentheses.
Ctrl+Enter inserts a new row on the next line. Take a chestnut: you can quickly insert a row down even if the cursor is not at the end of the line.
Ctrl+Shift+Enter inserts a new row on the previous line. Take a chestnut: you can quickly insert a row up even if the cursor is not at the beginning of the line.
Ctrl+Shift+ [check the code, press the shortcut key, and collapse the code.
Ctrl+Shift+] check the code, press the shortcut key, and expand the code.
Ctrl+K+0 expands all collapsed code.
Ctrl+ ← moves the cursor to the left, moving it quickly.
Ctrl+ → uniformly moves the cursor to the right, moving it quickly.
Shift+ ↑ selects multiple lines up.
Shift+ ↓ selects multiple lines down.
Shift+ ← selects the Chinese text to the left.
Shift+ → selects the Chinese text to the right.
Ctrl+Shift+ ← selects the Chinese text to the left.
Ctrl+Shift+ → selects the Chinese text to the right.
Ctrl+Shift+ ↑ swaps the line of the cursor with the previous line of code (inserts the line of the cursor before the previous line).
Ctrl+Shift+ ↓ swaps the line of the cursor with the next line of code (inserts the line of the cursor after the next line).
Ctrl+Alt+ ↑ adds a multiline cursor up to edit multiple lines at the same time.
Ctrl+Alt+ ↓ adds a multiline cursor down to edit multiple lines at the same time.
Edit class
Ctrl+J merges selected multiple lines of code into one line. Take a chestnut: merge the CSS attributes in a multi-line format into one line.
Ctrl+Shift+D copies the entire line of the cursor and inserts it into the next line.
Tab indents to the right.
Shift+Tab indents to the left.
Ctrl+K+K removes the code from the cursor to the end of the line.
Ctrl+Shift+K deletes the entire row.
Ctrl+/ comment single line.
Ctrl+Shift+/ comments multiple lines.
Ctrl+K+U converts uppercase.
Ctrl+K+L converts lowercase.
Ctrl+Z revoked.
Ctrl+Y resumes revocation.
Ctrl+U soft undo, feel the same as Gtrl+Z.
Ctrl+F2 set Bookmark
The left and right letters of Ctrl+T are interchangeable.
F6 word spelling detection
Search class
Ctrl+F opens the bottom search box to find the keyword.
Ctrl+shift+F looks in folders, unlike ordinary editors, sublime allows you to add multiple folders to find, slightly high-end, unstudied.
Ctrl+P opens the search box. For example, Chestnut: 1, enter the file name in the current project, quickly search for the file, 2, enter @ and keywords, find the function name in the file, 3, enter: and number, jump to the file line code, 4, enter # and keyword, find the variable name.
Ctrl+G opens the search box and automatically jumps to the line of code with:, enter a number. Take Chestnut: quickly locate in a file with a long page code.
Ctrl+R opens the search box, automatically with @, enter keywords, and find the name of the function in the file. Take a chestnut: quickly find a function on a page with more functions.
Ctrl+: opens the search box, automatically takes #, enters keywords, and looks for variable names, attribute names, and so on.
Ctrl+Shift+P opens the command box. Scene Chestnut: open the naming box, enter keywords, and invoke sublime text or plug-in functions, such as using package to install plug-ins.
Esc exit cursor multi-line selection, exit search box, command box, etc.
Display class
Ctrl+Tab toggles the tabs of the current window in the order in which the files have been browsed.
Ctrl+PageDown toggles the tab of the current window to the left.
Ctrl+PageUp toggles the tab of the current window to the right.
Alt+Shift+1 window split screen, restore the default 1 screen (non-keypad number)
Alt+Shift+2 left and right split screen-2 columns
Alt+Shift+3 left and right split screen-3 columns
Alt+Shift+4 left and right split screen-4 columns
Alt+Shift+5 is divided into 4 screens.
Alt+Shift+8 Vertical split screen-2 screen
Alt+Shift+9 Vertical split screen-3 screens
Ctrl+K+B turns the sidebar on / off.
F11 full screen mode
Shift+F11 do not Disturb Mode