Sublime Text 3Summary of shortcut keys
Sublime Text 3 is a very useful code editing artifact, but to use any software, it is necessary to master some of the shortcut keys.
Select Class
Ctrl+d selects the text that the cursor occupies, and continues, the next identical text is selected.
Alt+f3 Selected text press the shortcut key, you can select all the same text at once to edit simultaneously. Give a chestnut: quickly select and change all the same variable names, function names, and so on.
Ctrl+l Select the entire row, continue to select the next row, and the effect is thesame as shift+ ↓ effect.
Ctrl+shift+l Select multiple rows First, and then press the shortcut key to insert the cursor at the end of each line to edit the rows at the same time.
Ctrl+shift+m Select the contents in parentheses (continue to select the parent bracket). Give me a chestnut: Quickly select the code in the delete function, rewrite the function body code, or rewrite the contents of the parentheses inside.
Ctrl+m cursor moves to the end or start position within the parentheses.
Ctrl+enter Inserts a new row in the next line. For a chestnut: even if the cursor is not at the end of the line, you can quickly insert a line down.
Ctrl+shift+enter Inserts a new row in the previous line. For a chestnut: even if the cursor is not at the beginning of the line, it can be inserted quickly.
ctrl+shift+[ Select the code, press the shortcut key, and collapse the code.
ctrl+shift+] Select the code, press the shortcut key, and expand the code.
Ctrl+k+0 expands all collapsed code.
CTRL +← Move the cursor to the left of the unit to move the cursor quickly.
CTRL +→ Move the cursor to the right unit to move the cursor quickly.
shift+↑ Select multiple lines upwards.
shift+↓ Select multiple rows.
shift+← Left to select text.
shift+→ Select text to the right.
ctrl+shift+← Select text to the left of the unit.
ctrl+shift+→ Select text to the right of the unit.
ctrl+shift+↑ Swaps the cursor at the line and the previous line of code (before inserting the row of the cursor into the previous row).
ctrl+shift+↓ swaps the cursor at the line and the next line of code (after inserting the row of the cursor after the next line).
ctrl+alt+↑ Add a multiline cursor up, and you can edit multiple lines at the same time.
ctrl+alt+↓ Add a multiline cursor down to edit multiple lines at the same time.
Edit Class
Ctrl+j Merge the selected lines of code to one line. For a chestnut: merge the CSS properties of the multiline format into one line.
Ctrl+shift+d the entire line where the cursor is copied, and inserts it into the next row.
Tab Right indent.
Shift+tab indents to the left.
Ctrl+k+k removes code from the cursor at the end of the line.
Ctrl+shift+k Delete the entire row.
ctrl+/ Comment Line.
ctrl+shift+/ Comment Multiple lines.
Ctrl+k+u convert uppercase.
Ctrl+k+l Convert lowercase.
CTRL + Z Undo.
Ctrl+y restore Undo.
Ctrl+u soft undo, feeling and gtrl+z the same.
CTRL+F2 setting Bookmarks
Ctrl+t around the letter interchange.
F6 Word detection spelling
Search class
Ctrl+f Open the bottom search box to find keywords.
Ctrl+shift+f in folders, unlike the normal editor is Sublime allow to add multiple folders to find, slightly high-end, not researched.
Ctrl+p Open the search box. Give a chestnut:1, enter the file name in the current project, quickly search for files,2, enter @ and keywords, find the function name in the file,3 , enter : and number, jump to the line code in the file,4, enter # and keyword, find the variable name.
Ctrl+g Open the search box and automatically take:, enter a number to jump to that line of code. For a chestnut: Quickly locate a file in which the page code is relatively long.
Ctrl+r Open the search box, automatically with @, enter keywords, find the function name in the file. For a chestnut: Quickly find a function on a page with more functions.
CTRL +: Open the Search box, automatically with #, enter keywords, find variable names in the file, attribute names, and so on.
Ctrl+shift+p Open the Command box. Scene Chestnut: Open the Name box, enter the keyword, call Sublime text or plug-in features, such as using the Package Installation plugin.
ESC exits the cursor multi-line selection, exits the search box, command box, and so on.
Display class
Ctrl+tab Toggles the tab of the current window in the order in which the files were 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 4 screen
Alt+shift+8 Vertical split screen -2 screen
Alt+shift+9 Vertical split screen -3 screen
Ctrl+k+b Toggle The sidebar on / off.
F11 Full Screen mode
SHIFT+F11 free-to- disturb mode
Sublime Text 3 Theme App
Theme Theme-flatland Applications
Ctrl+shift+p Enter Packagecontrol Install
Input Themeflatland Installation
Enter Preference "Setting-user
Add "theme": "Flatland dark.sublime-theme",
"Color_scheme": "Packages/theme-flatland/flatland dark.tmtheme"
Sublime Text 3 Quick Key method summary and theme application