Common usages of sublime text3 [Summary of shortcut keys]

藏色散人
Release: 2020-08-01 12:00:51
forward
3590 people have browsed it

The following is the tutorial column ofsublimeto introduce to you the common usage of sublime text3 [Shortcut Key Summary], I hope it will be helpful to friends who need it Helps!

Common usages of sublime text3 [Summary of shortcut keys]

sublime text3 Commonly used shortcut keys

I mainly use C/C in my daily development, and occasionally write development Sublime is often used in PHP code development. I would like to share the shortcut keys that I often use and take notes. I hope it can be helpful to others.

Control Panel

Shortcut keys Function
Ctrl Shift P Open the command panel
Ctrl ` Open the console

Find and replace

Shortcut key Function
Ctrl P File name Search for files in the project
Ctrl P @ Search for functions in the current file
Ctrl P #Search for text in the current file
Ctrl R Search for symbols in the current file, same as Ctrl P @
Ctrl Shift R Search for symbols in the project
Ctrl F Search for text in the current file
Ctrl Shift F Search the text of the file in the project and replace
Ctrl H Replace

Jump

Shortcut key Function
F12 Jump to the definition
Alt - Jump to the previous step (can span files)
Alt Shift - Jump to the next step (can span files)
Ctrl G Jump to the next line
Ctrl P : Jump to which line, equivalent to Ctrl G
Ctrl M Jump to the corresponding line Brackets
Ctrl U soft undo, undo cursor position

label

Text operations

##Ctrl F2 Set label F2 Jump to the next tab Shift F2 Jump to the previous tab Ctrl Shift F2 Clear all tags
Shortcut keys Function
Shortcut keys Function
Ctrl / Comment the current line
Ctrl Shift / Insert comment at the current position
Ctrl X Cut the current line, equivalent to vim's dd (no need to select)
Ctrl C Copy the current line, equivalent to vim's yy (no need to select)
Ctrl Shift up and down Move the entire line up and down
Ctrl Shift left and right Select word by word in the line
Ctrl Shift V Paste and format
Ctrl Shift D Copy and paste where the cursor is Line
Ctrl Shift K Delete the line where the cursor is located. If there are multiple cursors, delete all the lines where the cursor is located
Ctrl D Select a word, repeat to increase the selection of the next same word
Alt F3 Select all the same words
Ctrl L Select the row, repeat to increase in order to select the next row
Ctrl Enter Insert after the current row New line
Ctrl Shift Enter Insert a new line before the current line
Ctrl Shift M Select the content of the current brackets (excluding brackets), and repeat the selection of the brackets themselves

Window operation

Quick Key Function
Alt Shift number Split screen display, 2: left and right split, 3: left and right split, 5: Quad screen, 8: Top and bottom split, 9: Top and bottom 3 splits
Ctrl Shift T Reopen the closed TAB
Ctrl W Close the currently open file
Ctrl Shift W Close all open files
Ctrl K B Switch sidebar
Alt number Switch to the Nth open file
Ctrl N New window

The above is the detailed content of Common usages of sublime text3 [Summary of shortcut keys]. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!