Http://www.sublimetext.com/3
First, install the package Control
Press CTRL + ' bring up the console, paste the following installation code into the bottom command line and enter:
import urllib.request,os;pf=‘Package Control.sublime-package‘;ipp=sublime.installed_packages_path();urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));open(os.path.join(ipp,pf),‘wb‘).write(urllib.request.urlopen(‘http://sublime.wbond.net/‘+pf.replace(‘ ‘,‘%20‘)).read())
Restart Sublime Text. If you see the package control item in Perferences->package Settings, the installation succeeds.
Second, install other plugins with the package Control
Press Cmd+shift+p to bring up the command panel, enter install and bring up the Install Package option and enter, then select the plug-in you want to install in the list.
Third, recommended plug-in
1.Emmet in summary, Emmet (formerly Zen Coding) is a plug-in that allows you to write html/css faster and more efficiently, saving you a lot of time.
Call Emmet shortcut key:???。
2.Git This plugin will integrate git into your sublimetext so that you can run GIT commands in Sublimetext, including adding, submitting files, viewing logs, file annotations, and other git features.
3.AutoFileName Auto-Complete file path, very convenient.
4.DocBlockr Docblockr will be an effective tool for you to write code documents. When you enter/** and press the TAB key, the plugin automatically resolves any function and prepares the appropriate template for you.
5.SFTP quick Edit Remote server file
6.SublimeLinter Inline syntax detection plug-in, support: C + +, Java, Python, PHP, JS, HTML, CSS, etc.
7.Alignment simple to extreme multi-line selection and multiline selection alignment plug-in
8.markdown-preview Markdown
9.ChineseLocalization Sublime Chinese plug-in
Four, shortcut keys
Sublime Text Common shortcut keys (under MAC)
Symbol description
?: Command
?: Control
?: Option
?: Shift
?: Enter
?: Delete
Open/close/GO
Shortcut key function
?? N Open a new sublime window
? N new file
?? W Close Sublime, close all files
? W Close the current file
? P jump, go to file, go to project, command prompt, go to method and so on (Goto anything)
?? T reopen the recently closed file
? T go to file
?? P go to Project
? R to method
?? P command prompt
? G go to line
? KB switch sidebar
? ' Open console
?-the cursor jumps back to the previous position
?? -Cursor recovery position
Edit
Shortcut key function
? A Select All
? L Select row (Repeat press to add next line to select)
? D Select words (multiple edits with multiple selections of the same word repeatedly pressed)
?? M Select the contents of parentheses
??? Insert a new row before the current row
?? Insert a new row after the current row
?? K Delete Row
? KK is removed from the cursor to the end of the line
? K? Remove from cursor to beginning of line
?? D copy (multiple) lines
? J merge (multiple) rows
? KU changed to uppercase
? KL to lowercase
? C Copy
? X-Cut
? V paste
?/Notes
?? /Block Comment
? Z Undo
? Y Restore Undo
?? V Paste and Auto Indent
?? V Select paste from history
? M jumps to the corresponding parentheses
? U Soft Undo (can undo cursor movement)
?? U Soft Redo (can redo cursor movement)
?? S Save All Files
?] Indent Right
? [Indent left
?? T Special symbol Set
?? L convert a selection to multiple single-line selections
Find/Replace
Shortcut key function
? F find
?? F Find and replace
?? G finds the next match for the currently selected content
?? G Find all content that matches the current selection for multiple edits
?? F Find in all open files
Split Window/tab page
Shortcut key function
?? [1,2,3,4] single, double, three, four columns
?? 5 Grid (4 groups)
? [1,2,3,4] Focus moves to the appropriate group (split screen number)
?? [1,2,3,4] Moves the current file to the appropriate group (split screen number)
? [1,2,3,4] Select the appropriate tab page
Quick action
Shortcut key function
?? Up and down keys two-line swap position
? KB Show/Hide Side
Mac_sublime Text3 (MAC) Some plugins and shortcut keys