Sublime Text2插件安装(win)

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

@echo off
 
cd %appdata%\Sublime Text 2\Packages
 
echo Install...
echo ==================================================
 
rem Install Package Control
rem 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'
 
echo === Theme - Soda ===
rmdir /Q/S "Theme - Soda"
git clone https://github.com/buymeasoda/soda-theme.git "Theme - Soda"
 
echo === RailsCasts Colour Scheme ===
rmdir /Q/S "RailsCasts Colour Scheme"
git clone https://github.com/tdm00/sublime-theme-railscasts.git "RailsCasts Colour Scheme"
 
echo === GBK Encoding Support ===
rmdir /Q/S "GBK Encoding Support"
git clone https://github.com/akira-cn/sublime-gbk.git "GBK Encoding Support"
 
echo === SideBarEnhancements ===
rmdir /Q/S "SideBarEnhancements"
git clone https://github.com/titoBouzout/SideBarEnhancements.git "SideBarEnhancements"
 
echo === Gist ===
rmdir /Q/S "Gist"
git clone https://github.com/condemil/Gist.git "Gist"
 
echo === SublimeAStyleFormatter ===
rmdir /Q/S "SublimeAStyleFormatter"
git clone https://github.com/timonwong/SublimeAStyleFormatter.git "SublimeAStyleFormatter"
 
echo === MarkdownBuild/SublimeBullet ===
rmdir /Q/S "MarkdownBuild"
git clone https://github.com/erinata/SublimeBullet.git "MarkdownBuild"
 
echo === Markdown Preview ===
rmdir /Q/S "Markdown Preview"
git clone https://github.com/revolunet/sublimetext-markdown-preview "Markdown Preview"
 
echo === Git ===
rmdir /Q/S "Git"
git clone https://github.com/kemayo/sublime-text-2-git.git "Git"
 
echo === SideBarGit ===
rmdir /Q/S "SideBarGit"
git clone https://github.com/SublimeText/SideBarGit.git "SideBarGit"
 
echo === Sublime-HTMLPrettify ===
rmdir /Q/S "Sublime-HTMLPrettify"
git clone https://github.com/victorporof/Sublime-HTMLPrettify.git "Sublime-HTMLPrettify"
 
echo === CSSTidy ===
rmdir /Q/S "CSSTidy"
git clone https://github.com/fitnr/SublimeCSSTidy.git "CSSTidy"
 
echo === Maven ===
rmdir /Q/S "Maven"
git clone https://github.com/nlloyd/SublimeMaven.git "Maven"
 
echo === Twitter Bootstrap Snippets ===
rmdir /Q/S "Twitter Bootstrap Snippets"
git clone https://github.com/devtellect/sublime-twitter-bootstrap-snippets.git "Twitter Bootstrap Snippets"
 
echo === JsFormat ===
rmdir /Q/S "JsFormat"
git clone https://github.com/jdc0589/JsFormat.git "JsFormat"
 
echo === Live Reload ===
rmdir /Q/S "Live Reload"
git clone https://github.com/dz0ny/LiveReload-sublimetext2.git "Live Reload"
 
echo === Licence Snippets ===
rmdir /Q/S "Licence Snippets"
git clone https://github.com/sijk/sublime-licence-snippets.git "Licence Snippets"

echo ==================================================
echo Done!
 
pause