vim

Original author: Tommy Nguyen

Last modified: Mon Aug 1 17:02

Plugins

There are a couple of Vim plugin managers, but a popular one is Pathogen. Installation is as simple as:

mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

And to install a plugin:

cd ~/.vim/bundle
git clone https://github.com/someuser/vim-plugin
# or
git clone https://github.com/someuser/vim-plugin ~/.vim/bundle/vim-plugin

Typically, you’d want to run :Helptags afterwards to get the new documentation.