标签:
1:下载sublime
2: view ---> show console
3:输入
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; 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 'Please restart Sublime Text to finish installation'
按回车,等待..... 看到打印 restart 就重启编辑器
4:打开后,点菜单 Preferences --> Package Contorl
5:选择install Package
标签:
原文地址:http://blog.csdn.net/odustggg/article/details/42425899