Managing different vim plugins is done through plugin manager in Vim.
There exists three vim plug-in managers – Pathogen, Vundle and NeoBundle as of this writing.
During early days, vim community witnessed compatibility issues in reusing the vim plugins developed by their peers as each developed in their own manner. A Plugin manager became a necessity for easier collaboration. Pathogen vim plugin manager emerged as a solution. It defined a standard way of writing vim plugins to manage collaboration efficiently and ease of adoption of their plugins. Recently, Vundle and NeoBundle have gained popularity.
Vundle is fully compatible for plugins written in Pathogen.
Vundle builds on pathogen and encompasses each plugin in a separate directory. This provides autonomy/ease to install and/or remove plugins. This feature of Vundle make it require additional steps to using a plugin written for pathogen in Vundle
This blog post details how to install plugin written for pathogen using Vundle.
Vundle used to treat plugins as Bundle in the initial days of its development. The latest Vundle version uses the term Plugins instead of Bundle. Hence, searching web for Vundle provides both :BundleInstall and :PluginInstall. We use the recent Plugin commands on Vundle.
Installation of Vundle can be found in.
The installed plugins reside as sub-directory inside Vundle.vim present in ~/.vim/bundle folder.
Let us take an example to install Dr. Chip’s DrawIt plugin available on github using Vundle.
Add the below line onto your .vimrc file. Observe that vim-scrips/DrawIt is derived from github dropping the .git suffix.
Open vim and install the DrawIt plugin using
The result shows up in a separate vertical split window on the vim terminal.