The following is the tutorial column of sublime to introduce you to the Sublime Text shortcut keys. I hope it will be helpful to friends in need!
Sublime Text shortcut key list
The shortcut keys are classified by type as follows:
1, General
↑ ↓← → Move the cursor up, down, left and right
Alt Bring up the menu
Ctrl Shift P Bring up the Command Palette
Ctrl ` Bring up the console
2. Edit
Ctrl Enter Add a new line below the current line and jump to that line
Ctrl Shift Enter Add a line above the current line and jump to that line
Ctrl ←/→ Move word by word
Ctrl Shift ←/→ Select word by word
Ctrl ↑/↓ Move the current display area
Ctrl Shift ↑/↓ Move Current line
3. Select
Ctrl D to select the word where the current cursor is located and highlight all occurrences of the word. Ctrl D again to select the next position where the word appears. In multiple selection In the process of writing words, use Ctrl K to skip, use Ctrl U to go back, and use Esc to exit multiple editing
Ctrl Shift L Break up the currently selected area
Ctrl J To break up the current selection Combine the area into one line
Ctrl M Switch between the starting bracket and the ending bracket
Ctrl Shift M Quickly select the content between brackets
Ctrl Shift J Quickly select the same indent Content
Ctrl Shift Space Quickly select the content of the current scope(Scope)
4. Find & Replace
F3 Jump to the next position of the current keyword
Shift F3 Jump to the previous position of the current keyword
Alt F3 Select all positions where the current keyword appears
Ctrl F/H Perform standard search/replace, then:
Alt C Switch case-sensitive mode
Alt W Switch whole matching mode
Alt R Switch Regex matching mode
Ctrl Shift H Replace current keyword
Ctrl Alt Enter Replace all keyword matches
Ctrl Shift F Multi-file search & replace
5. Jump
Ctrl P Jump to the specified file. After entering the file name, you can:
@ Symbol jump Enter @symbol to jump to the location of the symbol
# Keyword jump Go Enter #keyword to jump to the location of keyword
: Line number jump Enter: 12 to jump to line 12 of the file.
Ctrl R Jump to the specified symbol
Ctrl G Jump to the specified line number
6, window
Ctrl Shift N Create a new window
Ctrl N Create a new tab in the current window
Ctrl W Close the current tab. When there is no tab in the window, the window will be closed
Ctrl Shift T Restore the tab just closed
7. Screen
F11 Switch to normal full screen
Shift F11 Switch to interference-free full screen
Alt Shift 1 Single Switch to single screen
Alt Shift 2 Columns:2 Switch to vertical two-column split screen
Alt Shift 3 Columns:3 Switch to vertical three-column split screen
Alt Shift 4 Columns:4 Switch to vertical Four-column split screen
Alt Shift 8 Rows:2 Switch to horizontal two-column split screen
Alt Shift 9 Rows:3 Switch to horizontal three-column split screen
Alt Shift 5 Grid Switch to four format split screen
The above is the detailed content of Sublime Text shortcut list sharing. For more information, please follow other related articles on the PHP Chinese website!