Sublime Text Shortcut Summary

Source: Internet
Author: User

1. Common shortcut keys

Ctrl+d Word Selection (press the shortcut key repeatedly to continue to edit the next same text at the same time)
Ctrl+g jump to the appropriate line
Ctrl+j merge rows (multiple rows that need to be merged are selected)
Ctrl+l Select Entire row (press and hold-continue to select the downstream)
Ctrl+m cursor to start or end position within parentheses
Ctrl+t Word Exchange
Ctrl+u Soft Undo
Ctrl+p find files in the current project and quick search; Enter @ To find the main title/function of the file, or enter: Jump to a file line;
Ctrl+r quickly list/jump to a function
Ctrl+k Backspace Delete from cursor to beginning of line
Ctrl+k+b Toggle Sidebar on/off
CTRL+KK Delete from cursor to end of line
Ctrl+k+t Collapsing properties
Ctrl+k+u Change to uppercase
Ctrl+k+l Change to lowercase
Ctrl+k+0 Expand All
Ctrl+enter Insert Line (quick line wrapping)
Ctrl+tab tab Toggle in the current window


Ctrl+shift+a Select the cursor position parent tag pair child
Ctrl+shift+d the entire line where the cursor is copied, before inserting the line
Ctrl+shift+f in folders, unlike normal editors, Sublime allows you to add multiple folders to find
Ctrl+shift+k Delete an entire row
Ctrl+shift+l the mouse to select multiple rows (pressing the shortcut key), you can edit the lines at the same time
Ctrl+shift+m Select the contents in parentheses (press and hold-continue to select the parent bracket)
CTRL+SHIFT+P Open Command Panel
ctrl+shift+/Comment Selected content
Ctrl+shift+↑ can move this line of code, with upstream interchange
Ctrl+shift+↓ can move this line of code, with the downstream interchange
Ctrl+shift+[Folding Code
Ctrl+shift+] Unwind code
Ctrl+shift+enter Cursor Front Insertion


Ctrl+pagedown, ctrl+pageup files are switched on and off in the open sequence


CTRL + Z Undo
Ctrl+y Recovery undo
CTRL+F2 Setting/Canceling bookmarks
ctrl+/Comment Entire line (if selected, same as "ctrl+shift+/" effect)
CTRL + left mouse button to select multiple text to edit at the same time


shift+ the right mouse button (or using the middle mouse button) can use the mouse to select the vertical multi-line
Shift+f2 Previous Bookmark
Shift+tab removing indents
Alt+shift+1 (non-keypad) 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 4 Screen
Alt+shift+8 Vertical Split Screen-2 screen
Alt+shift+9 Vertical Split Screen-3 screen


Ctrl+shift+ to assign the current focus page to the split-screen sequence number page


ALT +. Close the current label
Alt+f3 selected text Press the shortcut key, you can select all the same text at once to edit simultaneously


Tab Indent Auto-complete
F2 Next Bookmark
F6 Detecting syntax errors
F9 row sort (by A-Z)
F11 Full Screen mode

2. Sublime using zencoding

When writing code using zencoding, you need to follow some abbreviation rules:
    • E
      The element name (Div, p);
    • E#id
      Elements with ID (div#content, P#intro, Span#error);
    • E.class
      The Elements with Class (Div.header, P.error), ID and class can be written in a row, div#content.column
    • E>n
      Child elements (Div>p, Div#footer>p>span)
    • E*n
      Multiple elements (Ul#nav>li*5>a)
    • E+n
      Multi-Item Element
    • E$*n
      Elements with an ordinal

Sublime Text Shortcut Summary

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.