Vimogen : Vim Plugin Manager for Pathogen
script karma |
Rating 8/6,
Downloaded by 3165 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
ryan kulla |
|
script type |
utility |
|
description |
For full instructions and the latest version of Vimogen, see: https://github.com/rkulla/vimogen
Vimogen is perhaps the easiest way to install, remove and update Vim plugins.
Essentially a Pathogen bundle manager for vim plugins, by way of a shell script that updates your Git checkouts, Vimogen can install or update all of your plugins at once.
Create a text 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:
https://github.com/fatih/vim-go
https://github.com/tpope/vim-surround
https://github.com/tpope/vim-rails
...
Fortunately, all of the plug-ins on vim.org are mirrored on Github here: https://github.com/vim-scripts/
Running vimogen will give you the option to install, update, or uninstall the Vim plugins you specified in .vimogen_repos:
1) INSTALL
2) UNINSTALL
3) UPDATE
4) EXIT
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 2 to UNINSTALL, it will give you a list of all your plugins to choose from:
1) EXIT
2) ctrlp
3) nerdtree
4) pydiction
5) vim-fugitive
6) vim-surround
7) ZenCoding
Enter the number of the plugin you wish to uninstall:
If you choose UPDATE, then it will run a "git pull" on all your bundles. This way you can stay up-to-date with all the new features the plugin authors create, just by re-running this command often.
You can also update from the command-line (useful in scripts) with:
$ vimogen update
To see a list of what plugins your vimogen_repos file currently contains:
$ vimogen heap |
|
install details |
$ git clone https://github.com/rkulla/vimogen
$ cp vimogen to your $PATH and make sure it's executable |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|