Vimogen : Vim Plugin Manager using Pathogen and Git
| script karma
Downloaded by 585
Comments, bugs, improvements
script versions (upload new version)
|For full instructions and the latest version of Vimogen, see: https://github.com/rkulla/vimogen
Vimogen is perhaps the easiest way to install, remove, or update Vim plugins.
Essentially a Pathogen bundle manager that manages the installing/deleting/updating of all your Vim plugins through a shell script that manages git repositories, Vimogen makes it easy to keep all of your Vim plugins synchronized across different machines.
Simply create a manifest file in your home directory called .vimogen_repos (or let vimogen generate one for you) and put git URLs to Vim plugins in it, one line at a time, like:
(Fortunately, all of the plug-ins on vim.org are mirrored on github here: https://github.com/vim-scripts/. And there are even more plug-ins on github.)
Running vimogen will give you the option to install, update, or uninstall the Vim plugins you use.
Enter the number of the menu option to perform: 1
If you choose INSTALL, then it will a "git clone" on each of the git repositories that you specified in ~/.vimogen_repos into your Pathogen dir (~/.vim/bundle). It will skip any directories that already exist. You can also append new plugin repos to the .vimogen_repos file later and install them incrementally by re- running Vimogen\\'s install command.
If you choose UNINSTALL, it will give you a list of all your plugins to choose from:
Enter the number of the plugin you wish to uninstall:
If you choose UPDATE, then it will run a "git pull" on all of your bundles. This is great because you can stay up-to-date with all the new features the plugin authors create just by re-running this command often.
|Vimogen's official home page is https://github.com/rkulla/vimogen
Installation is optional as Vimogen consists merely of a single Bash shell script.
Create a manifest file called $HOME/.vimogen_repos that consists of just git repositories. I supplied a sample .vimogen_repos file which contains the plugins that I like to use; make up your own, though.
Note that Vimogen will auto-generate $HOME/.vimogen_repos if you run it without creating the file first. It will genereate it based off the current pathogen bundles you already have, if any, as long as they also contain git repositories.
git clone git://github.com/rkulla/vimogen.git
chmod u+x vimogen.sh
cp vimogen.sh ~/bin/vimogen
or put it somewhere else in your $PATH if you do not like ~/bin.
Click on the package to download.
ip used for rating: 188.8.131.52