Earlier quoted context omitted.
That assumes that all the plugins are installed via Git, right?
It updates only those plugins that are installed as git submodules yes. Most recent bundles have git repos, but if they don't https://github.com/vim-scripts mirrors all plugins hosted on vim.org as clonable repos.
Sane Vim Plugin Management with Vundle
11–17 of 17 posts
Re: Sane Vim Plugin Management with Vundle
#12Not arguing with his main points, but updating submodules for pathogen is easier than he says. To update submodules do (in the "main dir" of the git repo): git submodule foreach git pull
Question: is there an equally easy way to delete submodules? They're easy as pie to add, and you rightly point out that they are easy to update, but I never figured out an easy way to remove them. I was likely missing something, though.
Re: Sane Vim Plugin Management with Vundle
#13Interesting. I just recently started using Pathogen, and it is a great improvement, but I do agree that updating plugins is still a chore. How well does Vundle work in Windows? And how does it organize the plugins?
Re: Sane Vim Plugin Management with Vundle
#14Re: Sane Vim Plugin Management with Vundle
#151. add a repo:
$ git remote add remote-vim-surround https://github.com/tpope/vim-surround.git
2. git-subtree: $ git subtree add --prefix=vim/bundle/vim-surround remote-vim-surround master
3. occasional updates: $ git subtree pull --prefix=vim/bundle/vim-surround remote-vim-surround master
The advantage of this method is that I can keep my config directory in git, pull it onto a new machine, and not have to update any submodules. It's just all there.Re: Sane Vim Plugin Management with Vundle
#16Not arguing with his main points, but updating submodules for pathogen is easier than he says. To update submodules do (in the "main dir" of the git repo): git submodule foreach git pull
Post author here. You're dead on about this. I could try to turn this into another reason why git + pathogen is lacking as a plugin management system (you have to know a lot about git!), but that is weak, so a better tack is to just agree. Question: is there an equally easy way to delete submodules? They're easy as pie to add, and you rightly point out that they are easy to update, but I never figured out an easy way…
Re: Sane Vim Plugin Management with Vundle
#17For example to add the rails plugin I can do:
braid add git://github.com/tpope/vim-rails.git bundle/vim-rails
then I can do `braid update bundle/vim-rails` to update just that or `braid update` to update all