1.安装插件管理器Package Control,打开Sublime,按下Control + (Mac)或者Ctrl +
(Windows),然后粘贴上下面的代码:
***
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())***
然后回车。点击Preferences。如果安装成功了,Package Settings 、Package Control会出现在菜单里了。