Skip to content

Instantly share code, notes, and snippets.

@chappyhome
Created October 19, 2013 04:42
Show Gist options
  • Save chappyhome/7051733 to your computer and use it in GitHub Desktop.
Save chappyhome/7051733 to your computer and use it in GitHub Desktop.
使用Package Control组件安装
按Ctrl+`调出console
粘贴以下代码到底部命令行并回车:
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
重启Sublime Text 2。
如果在Perferences->package settings中看到package control这一项,则安装成功。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment