Foreword:
Sublime Text is a small and convenient editor. In addition to many useful plug-ins, it also has its own shortcut keys. You can type code with twice the result with half the effort. If you don’t know how to use it, take a look!
Actually, there is on the menu. If you don’t understand it, you can translate it into Chinese . The Key Bindings-Default is also shown in the picture below. There are many commonly used shortcut keys. Example.
1. File
The operations under the file are available in many software.
Open: Ctrl+O
New: Ctrl+N
Create a new window: Ctrl+Shift+N
Close file: Ctrl+W
Close window: Ctrl+Shift+W
2. Edit
There are many operations under the edit menu .
2.1、Edit>Line
Indent left: Ctrl+] (Tab)
Indent to the right: Ctrl+[ (Shift+Tab)
Move up: Ctrl+Shift+↑
Move down: Ctrl+Shift+↓
Copy this line: Ctrl+Shift+D
Ctrl+J Merge selected multiple lines of code into one line, for example: Merge CSS properties in multi-line format into one line.
2.2、Edit>Comment
Comment a single line: Ctrl+/
Comment multiple lines: Ctrl+Shift+/