Live data from Hacker News

Sane Vim Plugin Management with Vundle

charlietanksley.net

1–10 of 17 posts

Re: Sane Vim Plugin Management with Vundle

#3
Updating your plugins (when using pathogen) is super-easy if they're stored in git somewhere.

    Dir.glob("#{ENV['HOME']}/.vimbundles/*").each do |d|
      next unless File.directory?(d)
      puts "updating #{d}"
      `cd #{d}; git pull --rebase; cd -`
    end
in ruby, would be easy enough in bash/zsh/python/perl/ as well.

see also: https://github.com/hashrocket/dotmatrix/blob/master/bin/vimb...

Re: Sane Vim Plugin Management with Vundle

#4
...There is a grow­ing con­sen­sus about Vim users that Pathogen is the best way to man­age scripts. The idea behind pathogen is a fan­tas­tic one (to be hon­est, all of Tim Pope’s scripts are well-thought out and exe­cuted; pathogen being no exception)...

You can get past the "Javascript required" message by disabling CSS (e.g. Web Developer Toolbar extension).

Re: Sane Vim Plugin Management with Vundle

#6
It baffles me how underdeveloped the git-submodule command is. I've never enjoyed that aspect of Vim bundle management, and this looks like a refreshing alternative.

Is submodule-based package management gone for good? I'm going to wait and see.

One thing is clear: the author understands the current Vim ecosystem and knows exactly what pain points still exist. He doesn't diminish how great Pathogen is but has come up with a way to make package management seamless, and for that reason, I'm going to give this a try.

Re: Sane Vim Plugin Management with Vundle

#10
post #8
post #5

Not 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

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.
Post reply on HN