Home>Article>Development Tools> Common usages of sublime text3 [Summary of shortcut keys]
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!
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.
Shortcut keys | Function |
---|---|
Ctrl Shift P | Open the command panel |
Ctrl ` | Open the console |
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 |
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 |
Shortcut keys | Function |
---|---|
Set label | |
Jump to the next tab | |
Jump to the previous tab | |
Clear all tags |
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 |
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!