Several practical sublime text 2 shortcut keys

Source: Internet
Author: User

Sublime text shortcut

Sublime text 2 is a lightweight, concise, efficient, and cross-platform editor. It is suitable for compiling JavaScript, HTML, CSS, PHP, paython, etc,As a programmer, coding efficiency is very important. The shortcut keys can help us improve efficiency. Below are some useful shortcut keys I recommend to you:

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 + 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

F11: Full Screen

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

Alt + F3: select all the same words

Alt + Shift + number: split screen display

Alt + number: Switch to open the nth File

CTRL + tab: Switch the tab

CTRL + Shift + up/down key, can replace rows

Shift + tab: reverse indent

Drag the scroll wheel down to select vertical

Note: Different Operating System shortcut keys may be different. The preceding shortcut keys are used in windows.

 

To do something better, you must first sharpen the tool. We hope this will help you improve programming efficiency.

 

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.