Sublime text usage tips

Source: Internet
Author: User

Sublime text has been used as the default text editing tool for the past, but it is only simple to use. Some sublime text shortcuts have not been studied, I checked it on the internet specially today. There are many shortcut keys, so I have to use them more frequently if I want to be skilled! Below we will sort out some commonly used shortcut keys and learn more in the future.

I. Shortcut Keys


CTRL + P search for files in the project

(+ Sub: 60 jump directly to the corresponding number of rows. In this window, add: the prefix is the line jump (CTRL + G), and add @ (CTRL + r) the prefix is the ID keyword navigation in HTML, CSS is the rule navigation, and JS is the function navigation. )

CTRL + G: the row to jump

CTRL + W: Close the currently opened file

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 + enter insert row after cursor

CTRL + Shift + P Command Panel

CTRL + Shift + W: Close all open files

CTRL + Shift + V: paste and format x

CTRL + Shift + L: Select multiple rows x

CTRL + Shift + enter: Insert a new row before the current row

CTRL + Shift + F: Find and replace x

CTRL + Shift + M: select the content of the current parentheses and repeat the brackets (the content inside the brackets is selected, the brackets are selected again, and all are selected again)

CTRL + Shift + k Delete the entire row, CTRL + KK delete from the cursor to the end of the row

CTRL + Shift + A: before and after the current label is selected

CTRL + X: Delete the current row

CTRL + M: Jump to the corresponding brackets (braces and parentheses)

CTRL + u: Soft undo, undo cursor position X

CTRL + J: Select TAG content x

CTRL + F: Search for content

CTRL + H: replace

CTRL + R: Go to method x

CTRL + N: New window

CTRL + K + B: Switch sidebar (document list on the left)

CTRL + F2: Set/delete tags; F2 switches between tags;

Shift + F2 bookmarks

CTRL +/: Comment the current row (the test is invalid in some languages)

CTRL + Shift +/: block comment (comment selected content)

CTRL + ALT +/: block comment, focus on the first line, and write the X

F11: Full Screen

Shift + F11: In Full Screen mode, only the current file is edited.

Alt + F3: select all the same words (select first)

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 x

You can switch the tab file with the forward and backward keys of the mouse.

CTRL + Click or select. You can select multiple locations to be edited.

CTRL + Shift + up/down key, Line X can be replaced

CTRL + ': Call up command line mode. Exit from ESC

CTRL + z undo Ctrl + y resume undo

CTRL + K + u to uppercase

CTRL + K + L to lowercase

Tab indent automatically completed

Shift + TAB remove indentation

 

(Note: If the shortcut key is followed by "X", I did not test the effect or do not know how to use it. I will modify it later)

Sublime text introduction/full set of shortcuts and plug-ins recommendation-maowang-blog

Sublime text2-LongZhong hut-blog Garden

 

Indicate the source for reprinting.

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.