Sublime text Common shortcut keys:
- ctrl+shift+p: Open Command Panel
- ctrl+p: Searching for files in a project
- ctrl+g: Jump to the first few lines
- ctrl+w: Close the currently open file
- ctrl+shift+w: Close all open files
- ctrl+shift+v: pasting and formatting
- ctrl+d: Select words, repeat to add the next same word
- ctrl+l: Select rows, repeat to select the next row in turn
- ctrl+shift+l: Select multiple lines
- ctrl+shift+enter: Inserting a new row before the current line
- ctrl+x: delete When moving forward
- ctrl+m: jump to corresponding parentheses
- Ctrl+u: Soft undo, undo cursor Position
- ctrl+j: Select label content
- ctrl+f: Find content
- ctrl+shift+f: Find and replace
- ctrl+h: Replace
- ctrl+r: Go to Method
- CTRL + N: New Window
- ctrl+k+b: Switch side bar
- ctrl+shift+m: Check the contents of the current parenthesis, repeating the parentheses themselves
- ctrl+f2: Set/Remove Tags
- ctrl+/: Comment When moving forward
- ctrl+shift+/: Insert comment at current position
- ctrl+alt+/: Block comment, and focus to the first line, write the comment description with the
- Ctrl+shift+a: Before and after selecting the current label, modify the label with
- F11: fullscreen
- shift+f11: fullscreen-free mode, editing only the current file
- alt+f3: Select all the same words
- ALT +. : Closed label
- alt+shift+ number : Split screen display
- ALT + number : Toggle to open nth file
- shift+ Right-drag : Many cursors are not used to change or insert column contents
- Mouse forward and backward key to toggle tab file
- Press CTRL, tap or select , to edit multiple locations
- Press ctrl+shift+ up/down key to replace row
Sublime Text Settings:
The settings are set in Preferences->settings->user order as follows:
{
"Font_face": "Courier New",
"Font_size": 9.0,
"highlight_line" : true
"scroll_past_end" :
"tab_size" : 4
"theme" :
: true
}
Sublime Text Common plugins:
It is recommended that you first enable the package Control, which is convenient to install the plugin, enable the method: Menu bar –view–show Console, paste in the following code and enter, and then restart Sublime. If your network cannot be enabled, then you cannot use it, manually search for a download (so your web is blocked?). )。
ImportUrllib2,Os;Pf=' Package Control.sublime-package ';Ipp=Sublime.Installed_packages_path();Os.Makedirs(Ipp) If NotOs.Path.Exists(Ipp) Else none; (os. Path. Join (ipp,pf). write (urllib2. Urlopen ( ' http://sublime.wbond.net/' +PF replace ( ","%20 " Span class= "pun")). read ())
Start installing some very useful plugins, ctrl+shift+p (menu –tools–command paletter), enter install Select Install package and enter, Enter or select the plug-in you need to install (note the small text changes in the lower left corner, will prompt installation success), install other plug-ins is also this method, very fast.
- Zencoding
Have to use a front-end development aspects of the plugin, Write less, show more. Can be used directly after installation, tab trigger, ALT+SHIFT+W is a code machine.
- Alignment
Code alignment, such as writing a few variables, check these lines, Ctrl+alt+a, wow, qi.
- Prefixr
Write CSS can automatically add-webkit and other private affixes, ctrl+alt+x trigger.
- Tag
HTML formatting, right-click Auto-format Tags on Ducument.
- Clipboard history
Clipboard history, show more historical copy, Ctrl+shift+v trigger.
- Sidebarenhancements
Sidebar Right-click function enhancement, very practical
- Theme–soda
The perfect coding theme, used all said, Setting user inside Add "theme": "Soda dark.sublime-theme"
- GBK to UTF8
The file encoding from GBK to Huang UTF8, menu –file inside to find
- SFTP
Directly edit files on FTP or SFTP server, absolute FTP cloud
- Wordpress
Integrate some of the WordPress functions
- Phptidy
Organize and compose PHP code
- YUI Compressor
Compressing JS and CSS files
Sublime text common shortcut keys and common settings