Sublime common shortcut keys

1 Ctrl+D word selection (press the shortcut key repeatedly to continue down and select the next same text for simultaneous editing) 32 Ctrl+PageDown and Ctrl+PageUp files are switched in the order in which they are opened
2 Ctrl+G jump to the corresponding line
3 Ctrl+J Merge lines (when multiple lines to be merged have been selected)
4 Ctrl+L selects entire line (hold-continue to select lower line) 33 Ctrl+Z Undo
5 Ctrl+M Move the cursor to the beginning or end of the brackets 34 Ctrl+Y Redo Undo
6 Ctrl+T word swap 35 Ctrl+F2 set/unbookmark
7 Ctrl+U Soft Undo 36 Ctrl+/ Comment the entire line (if the content is selected, the same as "Ctrl+Shift+/")
8 Ctrl+P to find files in the current project and quick search; enter @ to find the main title/function of the file; or enter: to jump to a line in the file; 37 Ctrl + left mouse button can select multiple texts to be edited at the same time
9 Ctrl+R Quickly list/jump to a function
10 Ctrl+K Backspace Delete from cursor to start of line
11 Ctrl+K+B Open/close sidebar 38 Shift+Right Mouse Button (or use Middle Mouse Button) to make vertical multi-line selection with the mouse
12 Ctrl+KK delete from cursor to end of line 39 Shift+F2 Previous bookmark
13 Ctrl+K+T Collapse Properties 40 Shift+Tab remove indent
14 Ctrl+K+U to uppercase 41 Alt+Shift+1 (non-keyboard) window split screen, restore default 1 screen
15 Ctrl+K+L to lowercase 42 Alt+Shift+2 left and right split screen - 2 columns
16 Ctrl+K+0 expand all 43 Alt+Shift+3 left and right split screen - 3 columns
17 Ctrl+Enter after inserting a line (fast line break) 44 Alt+Shift+4 left and right split screen - 4 columns
18 Ctrl+Tab Tab switching in the current window 45 Alt+Shift+5 Divide 4 screens equally
46 Alt+Shift+8 Vertical split screen - 2 screens
47 Alt+Shift+9 Vertical split screen - 3 screens
19 Ctrl+Shift+A Select the parent tag pair at the cursor position
20 Ctrl+Shift+D Copy the entire line where the cursor is, and insert it before the line
21 ctrl+shift+F Find within a folder, different from ordinary editors is that sublime allows to add multiple folders for search 48 Ctrl+Shift+Split screen number assigns the current focus page to the split screen number page
22 Ctrl+Shift+K delete entire line
23 Ctrl+Shift+L Select multiple lines with the mouse (press the shortcut key), you can edit these lines at the same time
24 Ctrl+Shift+M to select content within brackets (hold-to continue selecting parent brackets) 49 Alt+. closes the current tab
25 Ctrl+Shift+P Open Command Palette 50 Alt+F3 Select the text and press the shortcut key to select all the same text at one time for simultaneous editing
26 Ctrl+Shift+/ Annotate selection
27 Ctrl+Shift+↑ can move this line of code, interchange with the previous line
28 Ctrl+Shift+↓ can move this line of code, interchange with the next line 51 Tab indent autocomplete
29 Ctrl+Shift+[ Collapse code 52 F2 next bookmark
30 Ctrl+Shift+] Expand code 53 F6 detects syntax errors
31 Ctrl+Shift+Enter Insert line before cursor 54 F9 line sort (by az)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324530444&siteId=291194637