陈斌彬的技术博客

Stay foolish,stay hungry

MAC 版 Sublime Text 3 安装插件管理器

打开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())

Resource Reference