Common usages of sublime text3 [Summary of shortcut keys]
The following is the tutorial column of sublime to introduce to you the common usage of sublime text3 [Shortcut Key Summary], I hope it will be helpful to friends who need it Helps!
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
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 |
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



To open HTML files you need to use a browser such as Google Chrome or Mozilla Firefox. To open an HTML file using a browser, follow these steps: 1. Open your browser. 2. Drag and drop the HTML file into the browser window, or click the File menu and select Open.

IDLE and Jupyter Notebook are recommended for beginners, and PyCharm, Visual Studio Code and Sublime Text are recommended for intermediate/advanced students. Cloud IDEs Google Colab and Binder provide interactive Python environments. Other recommendations include Anaconda Navigator, Spyder, and Wing IDE. Selection criteria include skill level, project size and personal preference.

HTML can be used to open local files as follows: Create a .html file and import the jQuery library. Create an input field that allows the user to select a file. Listen to the file selection event and use a FileReader() object to read the file contents. Display the read file contents on the web page.

Here are the steps to use copied code in Python: Copy and paste the code into a text editor. Create a Python file. Run the code from the command line. Understand what the code is for and how it works. Modify the code as needed and rerun it.

Steps to create a .py file in Python: Open a text editor (such as Notepad, TextMate, or Sublime Text). Create a new file and enter the Python code, paying attention to indentation and syntax. When saving the file, use a .py extension (for example, my_script.py).

HTML files can be opened using a browser (such as Chrome, Firefox, Edge, Safari, Opera): find the HTML file (.html or .htm extension); right-click/long-press on the file; select "Open"; select the file you want to use browser.

Create an HTML document: Use a text editor to enter the HTML structure and save it as an .html file. Open an HTML document: Double-click the file or use the File > Open option in your browser. Practical case: Create a new HTML file, add a title, style sheet and content, and save it as an .html file.

To sum up, the following HTML editors are highly praised: Visual Studio Code: Cross-platform, feature-rich, free and open source. Sublime Text: High performance, highly customizable, paid software. Atom: cross-platform, scalable, open source and free. Brackets: dedicated for front-end development, intuitive interface, open source and free. Notepad++: lightweight, fast, powerful, open source and free. When choosing an HTML editor, consider factors such as platform compatibility, functionality, extensibility, price, and user-friendliness.
