Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 45 lines (40 sloc) 1.59 KB
#!/usr/bin/env ruby
# Modified from original script by Tammer Saleh
# http://tammersaleh.com/posts/the-modern-vim-config-with-pathogen
git_bundles = [
"git://github.com/vim-scripts/mayansmoke.git",
"git://github.com/mileszs/ack.vim.git",
"git://github.com/scrooloose/nerdcommenter.git",
"git://github.com/scrooloose/nerdtree.git",
"git://github.com/scrooloose/syntastic.git",
"git://github.com/sjbach/lusty.git",
"git://github.com/sjl/gundo.vim.git",
"git://github.com/tpope/vim-abolish.git",
"git://github.com/tpope/vim-cucumber.git",
"git://github.com/tpope/vim-endwise.git",
"git://github.com/tpope/vim-fugitive.git",
"git://github.com/tpope/vim-haml.git",
"git://github.com/tpope/vim-markdown.git",
"git://github.com/tpope/vim-rails.git",
"git://github.com/tpope/vim-repeat.git",
"git://github.com/tpope/vim-surround.git",
"git://github.com/tpope/vim-unimpaired.git",
"git://github.com/vim-ruby/vim-ruby.git",
"git://github.com/vim-scripts/mru.vim.git",
"git://git.wincent.com/command-t.git",
"git://github.com/vim-scripts/IndentAnything.git",
"git://github.com/vim-scripts/Javascript-Indentation.git",
"git://github.com/kchmck/vim-coffee-script.git",
"git://github.com/vim-scripts/ShowMarks.git",
"git://github.com/altercation/vim-colors-solarized.git",
"git://github.com/majutsushi/tagbar"
]
require 'fileutils'
require 'open-uri'
bundles_dir = File.join(File.dirname(__FILE__), "bundle")
git_bundles.each do |url|
dir = url.split('/').last.sub(/\.git$/, '')
puts " Unpacking #{url} into #{dir}"
`git submodule add #{url} bundle/#{dir}`
end
`git submodule init`