sublime text 3 安装package  contol:

快捷键:ctrl+`进入命令行输入

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

然后修改host增加    50.116.34.243 sublime.wbond.net

点击Package Control: install packge

posted on 2016-12-27 12:53  断肠夕阳丿  阅读(128)  评论(0编辑  收藏  举报