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, the effect is the same as the 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 and move the cursor quickly.
ctrl+→ move the cursor to the right and move the cursor quickly.
Shift+↑ select multiple rows upwards.
Shift+↓ Select multiple rows.
shift+← Select the text to the left.
shift+→ Select the text to the right.
ctrl+shift+← Select the text to the left of the unit.
ctrl+shift+→ Select the text to the right of the unit.
Ctrl+shift+↑ swaps the cursor line and the previous line of code (before inserting the row of the cursor into the previous row).
Ctrl+shift+↓ swaps the lines of the cursor and the next line of code (inserts 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+↓ adds 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. For 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
===============================================================================
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.
Ctrl+l Select the entire row, continue to select the next row.
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).
CTRL+M cursor moves to the end or start position within the parentheses.
Ctrl+enter inserts a new row in the next line.
Ctrl+shift+enter inserts a new row in the previous line.
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 and move the cursor quickly.
ctrl+→ move the cursor to the right and move the cursor quickly.
Shift+↑ select multiple rows upwards.
Shift+↓ Select multiple rows.
shift+← Select the text to the left.
shift+→ Select the text to the right.
ctrl+shift+← Select the text to the left of the unit.
ctrl+shift+→ Select the text to the right of the unit.
Ctrl+shift+↑ swaps the cursor line and the previous line of code (before inserting the row of the cursor into the previous row).
Ctrl+shift+↓ swaps the lines of the cursor and the next line of code (inserts 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+↓ adds 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.
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.
Ctrl+g Open the Search box and automatically take:, enter a number to jump to that line of code.
Ctrl+r Open the Search box, automatically with @, enter keywords, find the function name in the file.
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 functionality.
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
========================================================================================
First, shortcut keys
Select Class
Ctrl+d: Select the text that the cursor occupies, and continue with the next same text selected;
Ctrl+l: Select the entire row, continue to select the next row, the effect is the same as shift+↓;
Ctrl+shift+l: Select multiple lines First, and then press the shortcut key, the cursor will be inserted at the end of each line, you can edit these lines at the same time;
CTRL+M: The cursor moves to the end or beginning in parentheses;
Ctrl+shift+m: Check the contents of the current parenthesis, repeat to check the parentheses themselves;
Ctrl+enter: Inserts a new line in the next line;
Ctrl+shift+enter: Inserts a new line in the previous line;
Ctrl+k+o: Expands all folding codes;
ALT+F3: Select text Press the shortcut key, you can select all the same text at once and edit at the same time;
ctrl+shift+[: Select the code, press the shortcut key, fold the code;
Ctrl+shift+]: Select the code, press the shortcut key, expand the code;
ctrl+←: Move the cursor to the left and move the cursor quickly;
ctrl+→: Move the cursor to the right and move the cursor quickly;
Shift+↑: Select multiple rows upwards;
Shift+↓: Select multiple rows downward;
shift+←: Select multiple rows to the left;
shift+→: Select multiple rows 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 line of the cursor with the previous line of code (before inserting the row of the cursor into the previous line);
Ctrl+shift+↓: Swap the line of the cursor with the next line of code (insert the row of the cursor after the next line);
Ctrl+alt+↑: Add multi-line cursor up, 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
F6: Detect the spelling of words;
Ctrl+j: Merge the selected lines of code into one line;
Ctrl+t: Right and left letter interchange;
Ctrl+u: Soft revocation;
CTRL + Z: Undo;
Ctrl+y: restoration of revocation;
CTRL+F2: set/delete bookmarks;
Ctrl+k+k: Remove code from the cursor at the end of the line;
Ctrl+shift+k: Delete entire row;
Ctrl+k+l: Convert lowercase;
Ctrl+k+u: Convert uppercase;
Ctrl+shift+d: The entire line of the copy cursor, inserted into the next line;
Tab: Indent right;
Shift+tab: Indent to the left;
ctrl+/: note the current line;
ctrl+shift+/: Comment Multiple lines.
Search class
Ctrl+f: Open the bottom search box to find keywords;
Ctrl+shift+f: Find and replace;
Ctrl+p: Open the search box;
Ctrl+g: Open the search box and bring your own:;
Ctrl+r: Open the search box and bring your own @;
CTRL +:: Open the search box and bring your own #;
Ctrl+shift+p: Open command Panel;
ESC: Exit cursor multi-line selection, search box, command panel, and so on.
Display class
F11: Full screen mode;
SHIFT+F11: no disturb mode;
Ctrl+k+b: Open/close sidebar;
Ctrl+tab: Toggles the tab of the current window (in the order in which the files were browsed);
Ctrl+pageup: Toggles the tab of the current window to the right;
Ctrl+pagedown: Toggles the tab of the current window to the left;
Alt+shift+1: Window split screen, restore the default 1 screen;
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: Equal to 4 screens;
Alt+shift+8: Up and down split screen-2 screen;
Alt+shift+9: Up and down split screen-3 screen.
Other
Ctrl+h: Replacement;
CTRL + N: New file;
CTRL+W: Close the currently open file;
CTRL+SHIFT+W: Close all open files;
Ctrl+x: Cut;
Ctrl+shift+a: Select the current label before and after
Ctrl+shift+v: Paste and format;
ALT +.: Closed label;
ALT + Number: Switch to nth open file.
Second, plug-in
Alignment: Automatic alignment of code, so that the code is more concise and readable, easy to edit;
allautocomplete: Search for all open files to find matching prompt words;
caniuse: Check whether the browser supports HTML and CSS elements in the code;
colorpicker: Convenient to call the native Palette application, can choose the color, can be selected in the color palette to use it to the document, you can quickly locate a color value in the document to the palette;
Csscomb: A formatting plugin that sorts CSS properties, keeping the code clean and tidy, and arranged in a certain order;
Docblockr: Helps create code annotations by parsing functions, parameters, variables, and automatically adding basic items;
git: Integrate git into sublime text to run git commands in sublime text, including adding, submitting files, viewing logs, file annotations, and other git features;
gitgutter: Help developers to see the changes and differences before the file;
Sublime Codeintel: Code automatic prompt and complete, is the Sublime text with code hint function based on a better extension, can prompt the user to customize the code, support jump to variable, function definition function;
sublimelinter: Code check Plug-in, prompt the code in the presence of non-standard and wrong wording;
SUBLIMEREPL: Allows you to run the interpreter in sublime text to support multiple languages.
Sublime Text2 for Mac shortcut key description