Table of Contents
sublime text3 Commonly used shortcut keys
Control Panel
Find and replace
Jump
label
Text operations
Window operation
Home Development Tools sublime Common usages of sublime text3 [Summary of shortcut keys]

Common usages of sublime text3 [Summary of shortcut keys]

Aug 01, 2020 pm 12:00 PM
sublime

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!

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

##Ctrl F2Set labelF2Jump to the next tabShift F2Jump to the previous tabCtrl Shift F2Clear all tags

Text operations

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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What should I use to open html? What should I use to open html? Apr 21, 2024 am 11:33 AM

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.

What software is good for python programming? What software is good for python programming? Apr 20, 2024 pm 08:11 PM

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.

How to open local file in html How to open local file in html Apr 22, 2024 am 09:39 AM

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.

How to use the copied code in python How to use the copied code in python Apr 20, 2024 pm 06:26 PM

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.

How to create py file in python How to create py file in python May 05, 2024 pm 07:57 PM

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).

What can I use to open html? What can I use to open html? Apr 21, 2024 am 11:36 AM

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 and open HTML empty documents Create and open HTML empty documents Apr 09, 2024 pm 12:06 PM

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.

Which html editor software is easy to use? Which html editor software is easy to use? Apr 17, 2024 am 04:54 AM

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.

See all articles