Sublime Text 3 shortcut key essence, sublime Essence

Source: Internet
Author: User

Sublime Text 3 shortcut key essence, sublime Essence

Ctrl + Shift + P: Open the Command Panel
Ctrl + P: Search for files in the project
Ctrl + G: the row to jump
Ctrl + W: Close the currently opened file
Ctrl + Shift + W: Close all open files
Ctrl + Shift + V: paste and format
Ctrl + D: select a word. If you repeat a word, you can add and select the next same word.
Ctrl + L: select a row. You can add and select the next row in sequence.
Ctrl + Shift + L: Select multiple rows
Ctrl + Shift + Enter: Insert a new row before the current row
Ctrl + X: Delete the current row
Ctrl + M: Jump to the corresponding brackets
Ctrl + U: Soft undo, undo cursor position
Ctrl + J: Select TAG content
Ctrl + F: Search for content
Ctrl + Shift + F: Find and replace
Ctrl + H: replace
Ctrl + R: Go to method
Ctrl + N: New window
Ctrl + K + B: Switch sidebar
Ctrl + Shift + M: select the content of the current bracket.
Ctrl + F2: Set/delete tags
Ctrl +/: comment out the current row
Ctrl + Shift +/: insert comments at the current position
Ctrl + Alt +/: block annotation, Focus on the first line, and write the annotation description
Ctrl + Shift + A: before and after the current label is selected
F11: Full Screen
Shift + F11: In Full Screen mode, only the current file is edited.
Alt + F3: select all the same words
Alt +.: Closed tag
Alt + Shift + number: split screen display
Alt + number: Switch to open the nth File
Shift + right-click and drag: the cursor is mostly not used to change or insert column content
You can switch the Tab file with the forward and backward keys of the mouse.
Press Ctrl and click or select one by one. You can edit multiple locations.
Press Ctrl + Shift + up/down to replace rows
Select class
Ctrl + D select the text occupied by the cursor. Continue to select the next identical text.
Alt + F3 select text press the shortcut key to select all the same text at one time for simultaneous editing. For example, quickly select and change all the same variable names and function names.
Ctrl + L select the entire row, and continue to select the next row. The effect is the same as that of Shift + continue.
Ctrl + Shift + L select multiple rows first, and then press the shortcut key to insert the cursor at the end of each row to edit these rows at the same time.
Ctrl + Shift + M select the content in the brackets (continue to select the parent Parenthesis ). For example, you can quickly select the code in the delete function, rewrite the function body code, or rewrite the content in the brackets.
Ctrl + M move the cursor to the end or start position in the brackets.
Ctrl + Enter Insert a new line in the next line. For example, you can insert a row down quickly even if the cursor is not at the end of the row.
Ctrl + Shift + Enter Insert a new row in the previous row. For example, you can insert a row up quickly even if the cursor is not at the beginning of the line.
Ctrl + Shift + [select the code and press the shortcut key to collapse the code.
Ctrl + Shift +] select the code and press the shortcut key to expand the code.
Ctrl + K + 0 show all folding code.
Ctrl + ← move the cursor to the left unit to quickly move the cursor.
Ctrl + → move the cursor to the right unit to quickly move the cursor.
Shift + rotate select multiple rows from the upper menu.
Shift + backward select multiple rows.
Shift + cursor select text to the left.
Shift + → select text to the right.
Ctrl + Shift + ← select the text to the left unit.
Ctrl + Shift + → select text to the right in unit.
Ctrl + Shift + ← swap the line where the cursor is located with the code of the previous line (insert the line where the cursor is located before the previous line ).
Ctrl + Shift + ← swap the code between the row where the cursor is located and the next line (insert the row where the cursor is located to the next line ).
Ctrl + Alt + ↓ Add a multi-row cursor up to edit multiple rows at the same time.
Ctrl + Alt + ↓ add multiple rows of cursor down to edit multiple rows at the same time.
Editing
Ctrl + J merge the selected multiple lines of code into one line. For example, combine the CSS attributes in multi-row format into one row.
Ctrl + Shift + D copy the entire row where the cursor is located and insert it to the next row.
Tab is indented to the right.
Shift + Tab indent to the left.
Ctrl + K Delete the code from the cursor to the end of the line.
Ctrl + Shift + K Delete the entire row.
Ctrl +/comment a single row.
Ctrl + Shift +/comment multiple rows.
Ctrl + K + U converts uppercase letters.
Ctrl + K + L converts lowercase letters.
Ctrl + Z undo.
Ctrl + Y resume undo.
Ctrl + U soft undo, feel the same as Gtrl + Z.
Ctrl + F2 set bookmarks
Ctrl + T.
F6 spelling
Search
Ctrl + F open the bottom search box and search for keywords.
Ctrl + shift + F search in folders. Unlike the normal Editor, sublime allows you to add Multiple folders for search, which is slightly high-end and not researched.
Ctrl + P open the search box. Example: 1. enter the name of the file in the current project, and quickly search for the file. 2. Enter @ and keyword to search for the number of letters in the file. 3. Enter: and number, jump to the line of code in the file. 4. Enter # and keyword to find the variable name.
Ctrl + G open the search box and automatically bring:. Enter a number to jump to this line of code. For example, you can quickly locate the problem in a file with long Page code.
Ctrl + R open the search box, automatically add @, enter the keyword, and find the function name in the file. For example, you can quickly search for a function on pages with many functions.
Ctrl +: Open the search box, automatically include #, enter the keyword, and find the variable name and attribute name in the file.
Ctrl + Shift + P open the command box. Scenario: Open the Name box and enter a keyword to call the sublime text or plug-in function. For example, use package to install the plug-in.
Esc exit the cursor multiple lines selection, exit the search box, command box, and so on.
Display class
Press Ctrl + Tab to switch the tabs of the current window in the order the files have been browsed.
Ctrl + PageDown switch the tab of the current window to the left.
Ctrl + PageUp switch the tab of the current window to the right.
Alt + Shift + 1 window split, Restore Default 1 screen (non-keypad number)
Alt + Shift + 2 left/right split-2 columns
Alt + Shift + 3 left/right split-3 columns
Alt + Shift + 4 left/right split-4 columns
Alt + Shift + 5 equals 4 screens
Alt + Shift + 8 Vertical Split-2 Screen
Alt + Shift + 9 Vertical Split-3 Screen
Ctrl + K + B enable/disable sidebar.
F11 full screen mode
Shift + F11 do-not-Disturb Mode

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.