Sublime shortcut keys for Text 3

Source: Internet
Author: User
Tags sublime text

Sublime Text 3 is a great software that not only has incredible built-in functionality (multi-line editing and Vim mode), but also supports plugins, snippets, and many other things.

Today, let's summarize the shortcut keys for Sublime Text 3, as described in the following list:

Select class:

    1. CTRL + D (multi-line editing): Select the text that the cursor occupies, and press CTRL + D consecutively to select multiple identical text.
    2. ALT + F3: Select all the same words.
    3. Ctrl + L (full row selected): The entire row is selected, and the next full row is selected, and the effect is the same as shift +↓.
    4. 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.
    5. Shift +↑: Select multiple rows upwards.
    6. Shift +↓: Select multiple rows down.
    7. Shift +←: Select text to the left
    8. Shift +→: Select text to the right
    9. Ctrl +←: Move the cursor to the left to move the cursor quickly.
    10. Ctrl +→: Move the cursor to the right of the unit to move the cursor quickly.
    11. Ctrl + Alt +↑: Add a multiline cursor up and edit multiple lines at the same time.
    12. CRL + Alt +↓: Adds a multiline cursor down to edit multiple lines at the same time.
    13. Ctrl + Shift +←: Select text to the left of the unit
    14. Ctrl + Shift +→: Select text to the right of the unit
    15. Ctrl + Shift +↑: Swaps the cursor at the line and previous lines
    16. Ctrl + Shift +↓: Swaps the row of the cursor with the next line of code
    17. Ctrl + M: Jumps to the corresponding parentheses.
    18. Ctrl + Shift + M: Check the contents of the current parenthesis and repeat to check the parentheses themselves.
    19. Ctrl + click (multi-line editing): Clicking each place you want to edit will create a cursor.

Edit class:

    1. Ctrl + J: Merge the selected lines of code into one line.
    2. Alt +.: Closed Label
    3. Ctrl + Shift + D: Copies the entire line of the cursor and inserts it into the next row.
    4. Tab: Indent Right
    5. Shift + Tab: Indents to the left.
    6. Ctrl + k + K: Removes code from the cursor at the end of the line.
    7. Ctrl + Shift + K: Deletes the entire row.
    8. Ctrl +/: Comment When moving forward
    9. Ctrl + Shift +/: Inserts comments at the current position, commenting on multiple lines.
    10. Ctrl + Alt +/: block comments, and focus to the first line, write the comment instructions.
    11. Ctrl + K + U: Convert uppercase.
    12. Ctrl + K + L: Convert lowercase.
    13. Ctrl + Z: Undo.
    14. Ctrl + Y: Restore Undo.
    15. Ctrl + U: Soft undo, feel like Ctrl + Z.
    16. Ctrl + F2: Set/Remove tags.
    17. Ctrl + T: Swap the letters around.
    18. F6: Word detection spelling

Search for class:

    1. Ctrl + F: Find content.
    2. Ctrl + Shift + F: Find and replace.
    3. Ctrl + H: Replace.
    4. Ctrl + P (file Toggle): This shortcut can quickly open a new file. Just press CTRL + P and enter the name of the file you want to open, and press ENTER to open the file you want.
    5. Ctrl + G: Jumps to the first line.
    6. CTRL + R (Jump tags): When you edit a large file, there are a lot of methods in the file, press CTRL + R to list them all, making them easier to find.
    7. CTRL +:: Open the Search box, automatically with #, enter keywords, find variable names in the file, attribute names, and so on.
    8. Ctrl + Shift + P (command Panel): command Panel allows you to access all things in the Settings menu, call package commands, change file syntax, process sublime items, and more.
    9. ESC: Exit the cursor multi-line selection, exit the search box, command box, and so on.

Display class

    1. Ctrl + TAB: Toggles the tab of the current window by the order in which the files are browsed.
    2. Ctrl + PageDown: Toggles the tab of the current window to the left.
    3. Ctrl + PageUp: Toggles the tab of the current window to the right.
    4. Alt + Shift + Number: Split screen display
    5. Alt + Shift + 1: Window split screen, restore default 1 screen (number not keypad)
    6. Alt + Shift + 2: Left/Right split screen-2 columns
    7. Alt + Shift + 3: Left/Right split screen-3 columns
    8. Alt + Shift + 4: Left/Right split screen-4 columns
    9. Alt + Shift + 5: equal to 4 screens
    10. Alt + Shift + 8: Vertical split screen-2 screen
    11. Alt + Shift + 9: Vertical split Screen-3 screen
    12. Ctrl + K + B: Toggle Sidebar on/off.
    13. F11 Full Screen mode
    14. Shift + F11: intrusion-free mode

Other classes:

    1. Ctrl + Enter: Inserts a new line in the next line.
    2. Ctrl + Shift + Enter: Inserts a new line on the previous line.
    3. Ctrl + Shift + [: Check the Code, press the shortcut key, collapse the code
    4. Ctrl + Shift +]: Select the code, press the shortcut key, expand the code
    5. Ctrl + K + 0: Expand all collapsed Codes
    6. Ctrl + N: Creates a new file.
    7. Ctrl + Shift + N: Opens a new sublime.
    8. Ctrl + W: Closes the currently open file.
    9. Ctrl + Shift + W: Closes all open files.
    10. Ctrl + Shift + A: Select the current label before and after the change
    11. Sift + F11: fullscreen free, edit current file only
    12. ALT + Number: Toggle to open nth file

Sublime shortcut keys for Text 3

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.