Sublime Text Some tips

Source: Internet
Author: User

Sublime text Shift+ctrl Magical, Sublime text shortcut combination of the source: sissy finishing. Date: 2014/4/26 22:00:44 [Big Small] Comment: 0| I want to express my opinion

Package Control Installation Method
First open the console with the shortcut key Ctrl + ' or View > Show console, and then paste the appropriate Python installation code.

1: Hold down Shift+ctrl and press ← or → to quickly select a part of a row, which is equivalent to double-clicking the mouse check.

This method works well when you want to annotate the end of the code.

Enter text-"cursor moves to end of text-" Press and hold shift+ctrl+← to select text-"Other actions: Delete, comment (ctrl+/), etc."

2:shift+ctrl key combination +↑↓. You can achieve the same effect as when the mouse is selected.

The cursor navigates to a line-"ctrl+shift+↑↓, moving up and down one line."

After you select-Ctrl+shift+↑↓, move the selected area up or down.

3:ctrl+shift+d: Quick copy of the entire line where the cursor is located and before it is copied to the line.

4:ctrl+shift+m: The entire contents of the selected curly braces do not include {}.

5:ctrl+shift+a: The contents of the selected tag do not include the label, continue to press to continue to the previous layer of selection.

This feature can be used to preview real-time structures.

Then press

6:ctrl+shift+enter inserts a row before the cursor.

It works well, and when you need to insert a new line for some reason, use it and your own indentation does not require a tap key.

6:ctrl+shift+[Folding Code

Ctrl+shift+] Unwind code

In the HTML syntax format, the label can be folded, it is convenient to view the label layout structure.

7:ctrl+shift+k Delete an entire row

8:CTRL+SHIFT+P Open Command Panel

Sublime Text shortcut key:

Ctrl+shift+p: Open Command Panel

Ctrl+p: Searching for files in a project

Ctrl+g: Jump to the first few lines

CTRL+W: Close the currently open file

CTRL+SHIFT+W: Close all open files

Ctrl+shift+v: Pasting and formatting

Ctrl+d: Select words, repeat to add the next same word

Ctrl+l: Select rows, repeat to select the next row in turn

Ctrl+shift+l: Select multiple lines

Ctrl+shift+enter: Inserting a new row before the current line

Ctrl+x: Delete When moving forward

Ctrl+m: jump to corresponding parentheses

Ctrl+u: Soft undo, undo cursor Position

CTRL+J: Select label content

Ctrl+f: Find Content

Ctrl+shift+f: Find and replace

Ctrl+h: Replace

Ctrl+r: Go to Method

CTRL + N: New window

CTRL+K+B: Switch Side bar

Ctrl+shift+m: Check the contents of the current parenthesis, repeating the parentheses themselves

CTRL+F2: Set/Remove Tags

ctrl+/: Comment When moving forward

ctrl+shift+/: Insert comment at current position

ctrl+alt+/: Block comment, and focus to the first line, write the comment description with the

Ctrl+shift+a: Before and after selecting the current label, modify the label with

F11: Fullscreen

SHIFT+F11: fullscreen-free mode, editing only the current file

ALT+F3: Select all the same words

ALT +.: Closed Label

alt+shift+ Number: Split screen display

ALT + Number: Toggle to open nth file

shift+ Right-drag: Many cursors are not used to change or insert column contents

Mouse forward and backward key to toggle tab file

Press CTRL, tap or select, to edit multiple locations

Press ctrl+shift+ up/down key to replace row

Sublime Text Some tips

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.