Sublime shortcuts

Shortcut key
ctrl + ~: command console
ctrl + shift + p: universal panel
ctrl + p: quick open file
ctrl + r: find function in open file
ctrl + g: can jump to the specified line
ctrl + shift + f: search
ctrl + l : select the entire line

ctrl+up, ctrl+down can scroll the screen line by line,
pageUp pageDown page by page
ctrl+shift+a can be HTML tag content, each press to go up level by level,
ctrl+shift+ space can select block {content} in languages ​​such as js,
Ctrl+Shift+D to copy the entire line where the cursor is, and insert it before the line
Ctrl+J Merge lines (when multiple lines to be merged have been selected)
Ctrl+KU Change to uppercase
Ctrl+KL Change to lowercase
Ctrl+M The cursor jumps to the corresponding bracket (BracketHighlighter plugin does a better job)
Ctrl+Shift+M Select the content in the bracket (hold down - continue to select the parent bracket)
Alt+. Close the current tab
Ctrl+Shift +A Select parent tag pair at cursor position
Ctrl+Shift+[ Collapse code
Ctrl+Shift+] Expand code
Ctrl+KT Collapse property
Ctrl+K0 Expand all
Ctrl+U Soft undo
Ctrl+T Word interchange
Tab Auto-complete indentation
Shift+Tab Remove indentation
Ctrl+Shift+↑ Interchange with ascending
Ctrl+Shift+↓ Interchange with descending
Ctrl+K Backspace Delete from cursor to beginning of line Edit multiple lines at the


same time :
mouse Select multiple lines, press Ctrl Shift L (Command Shift L) to edit these lines at the same time;
select text with the mouse, press CTRL D (Command D) repeatedly to continue down and simultaneously select the next same text for simultaneous editing; the
mouse Select text and press Alt F3 (Win) or Ctrl Command G (Mac) to select all the same text at once for simultaneous editing;
Shift right mouse button (Win) or Option left mouse button (Mac) or use the middle mouse button to Use the mouse for vertical multi-line selection;
Ctrl left mouse button (Win) or Command left mouse button (Mac) can manually select multiple texts to be edited at the same time

F9 Multi-line sorting in alphabetical order;


1. install packages
Preferences -> Browse Packages...
The system will open the Packages folder of Sublime Text 2. Go

up one level: Installed Packages, copy Package Control.sublime-package into it,
restart

2, Chinese garbled characters
ctrl + shift +p -> install packages
ConvertToUTF8
GBK Encoding Support


3、HTML文件打开
ctrl + shift +p -> install packages
gem browser

{ "keys": ["ctrl+shift+b"], "command": "open_in_browser" }

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327016185&siteId=291194637