The package control is a packet manager for ST2.
Installation of the package control
After installing the ST2, bring up the console from the Views-show console or ctrl+~.
To complete the installation, paste the following Python code in and enter execution:
ImportUrllib2,os; pf='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP)if notOs.path.exists (IPP)ElseNone; Urllib2.install_opener (Urllib2.build_opener (urllib2. Proxyhandler ())); Open (Os.path.join (IPP, PF),'WB'). Write (Urllib2.urlopen ('http://sublime.wbond.net/'+pf.replace (' ','%20'). read ());Print('Restart Sublime Text to finish installation')
The GIT address with the package control is attached: Https://github.com/wbond/package_control
Use of the package control
1) from the menu Tools-command Paletter or the shortcut key Ctrl + Shift + P Enter, enter the install after the return, select the plug-in you need to enter the installation. The bottom left corner will indicate whether the installation was successful.
2) in command Paletter, install is responsible for installing plug-ins, list lists installed plug-ins, remove removed installed plug-ins, upgrade upgrade plug-ins, disable disable plugins, enable plug-ins.
Sublime Text 2 Convenient way to install the package control