sublime3配置

安装插件管理器

https://sublime.wbond.net/installation

菜单view > Show Console 调出命令行工具粘贴命令,之后重启

1
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

执行不成功,可能需要代理 (我用的 ss +Privoxy)
菜单PreferencesSettings >> Settings –
User

1
2
3
{
"http_proxy": "http://127.0.0.1:8118"
}
阅读更多