7

Is it possible to update vim plugins automatically?

1passenger
  • 563
  • 1
  • 7
  • 17

6 Answers6

3

To provide an up to date answer to this old question, Vundle works really great. It simulates the ruby bundle gem, you simply configure your Bundles in .vimrc and then run :BundleInstall! inside vim.

Speed
  • 1,424
  • 1
  • 16
  • 24
2

This vim plugin seems to do what you are after, though it hasn't been updated in a while. Never used it, but the author has written a "few" vim plugins in the past.

Randy Morris
  • 39,631
  • 8
  • 69
  • 76
  • Used it, and although probably it can be made to work, I've personally categorized it under "asking for trouble". – Rook Nov 17 '09 at 18:16
  • Tested it with a few vim plugins. Works great for me! Thanks for the tip. (I had tested this plugin some years ago... without any success...) – 1passenger Nov 18 '09 at 22:49
2

vim-addon-manager has the function :UpdateAddons [{name} ...] which when called with no arguments updates all installed addons.

expelledboy
  • 2,033
  • 18
  • 18
  • 1
    Not all *installed*, but all *active* and additionally vim-addon-manager-known-repositories. – ZyX Mar 05 '11 at 03:50
0

My operating systems (Archlinux) has a bunch of packages containing vim plugins. Look into you OS for similar packages.

Alexandru
  • 25,070
  • 18
  • 69
  • 78
0

If the plugin versioned in git, for example, you can pathogen and put the plugin in another dir. Then to update is only a command.

tfmoraes
  • 696
  • 1
  • 8
  • 18
0

I prefer a bash script. Then you can have it set as a cronjob, and you don't depend on other scripts supporting the ability to update.

wilhelmtell
  • 57,473
  • 20
  • 96
  • 131