add typescript plugin, clean up plugins

This commit is contained in:
Nick Nisi
2013-11-02 08:24:23 -05:00
parent 6e590eccef
commit cb4d226de0
2 changed files with 1 additions and 76 deletions

View File

@@ -1,73 +0,0 @@
#!/usr/bin/env ruby
# script based on Tammer Saleh's blog post
# http://tammersaleh.com/posts/the-modern-vim-config-with-pathogen
require 'fileutils'
require 'open-uri'
git_bundles = [
"https://github.com/tpope/vim-rake.git",
"https://github.com/tpope/vim-endwise.git",
"https://github.com/tpope/vim-fugitive.git",
#"https://github.com/scrooloose/syntastic.git",
"https://github.com/scrooloose/nerdcommenter.git",
"https://github.com/cakebaker/scss-syntax.vim.git",
"https://github.com/tpope/vim-rvm.git",
#"https://github.com/tpope/vim-surround.git",
"https://github.com/tpope/vim-ragtag.git",
"https://github.com/itspriddle/vim-jquery.git",
"https://github.com/hallison/vim-ruby-sinatra.git",
"https://github.com/tpope/vim-vividchalk.git",
"https://github.com/mmalecki/vim-node.js.git",
"https://github.com/pangloss/vim-javascript.git",
"https://github.com/tpope/vim-markdown.git",
#"https://github.com/tpope/vim-git.git",
"https://github.com/tpope/vim-cucumber.git",
"https://github.com/vim-ruby/vim-ruby.git",
"https://github.com/manalang/jshint.vim.git",
# "https://github.com/tpope/vim-rails.git",
"https://github.com/kien/ctrlp.vim.git",
"https://github.com/scrooloose/nerdtree.git",
"https://github.com/vim-scripts/ZoomWin.git",
"https://github.com/rgarver/Kwbd.vim.git",
"https://github.com/Lokaltog/vim-powerline.git",
"https://github.com/Raimondi/delimitMate.git",
"https://github.com/goatslacker/mango.vim.git",
"https://github.com/altercation/vim-colors-solarized.git",
"https://github.com/marcus/vim-mustang",
"https://github.com/altercation/vim-colors-solarized.git",
"https://github.com/sjl/badwolf.git",
"https://github.com/groenewege/vim-less.git"
]
vim_org_scripts = [
#["autoclose", "10873", "plugin"]
]
bundles_dir = File.join(File.dirname(__FILE__), 'bundle')
FileUtils.cd(bundles_dir)
puts "clearing out bundles directory"
Dir["*"].each do |dir|
FileUtils.rm_rf dir
end
git_bundles.each do |url|
dir = url.split('/').last.sub(/\.git$/, '')
puts "unpacking #{url} #{dir}"
`git clone #{url} #{dir}`
#FileUtils.rm_rf File.join(dir, '.git')
end
vim_org_scripts.each do |name, script_id, script_type|
puts "downloading #{name}"
local_file = File.join(name, script_type, "#{name}.vim")
FileUtils::mkdir_p File.dirname(local_file)
File.open(local_file, "w") do |file|
file << open("http://www.vim.org/scripts/download_script.php?src_id=#{script_id}").read
end
end
puts "\nbundle installation complete\n"

View File

@@ -18,8 +18,6 @@ Bundle 'pangloss/vim-javascript'
Bundle 'itspriddle/vim-jquery'
Bundle 'tpope/vim-markdown'
Bundle 'wavded/vim-stylus'
Bundle 'mmalecki/vim-node.js'
" Bundle 'Lokaltog/vim-powerline'
Bundle 'tpope/vim-ragtag'
Bundle 'tpope/vim-surround'
Bundle 'duff/vim-scratch'
@@ -31,7 +29,6 @@ Bundle 'tsaleh/vim-matchit'
Bundle 'benmills/vimux'
Bundle 'mattn/emmet-vim'
Bundle 'ap/vim-css-color'
" Bundle 'nicknisi/ir-whack'
Bundle 'flazz/vim-colorschemes'
Bundle 'editorconfig/editorconfig-vim'
Bundle 'juvenn/mustache.vim'
@@ -47,3 +44,4 @@ Bundle 'tonchis/to-github-vim'
Bundle 'sotte/presenting.vim'
Bundle 'moll/vim-node'
Bundle 'elzr/vim-json'
Bundle 'leafgarland/typescript-vim'