Automatic vim plugin loading with pathogen
My editor of choice is vim. I am using a MacOS desktop with a fairly recent version of vim, but I am often working on Ubuntu servers. Even in the newest LTS the vim plugins available in the standard package repos may be ancient.
I found a convenient way to auto load plugins installed directly from git repositories: pathogen.vim
You just need to:
… then edit your .vimrc to initialize pathogen:
… and install a plugin to test if everything works: