Last Updated: February 25, 2016
·
458
· Lorin Hochstein

Quick install of Vim packages

Prereqs:

  • Pathogen package manager
  • hub command-line wrapper for github
  • zsh

Add this to your .zshrc:

function vimp {
    bundle=("${(s:/:)1}")
    hub clone $1 ~/.vim/bundle/${bundle[2]}
}

Then you can install a package from github like this:

$ vimp duff/vim-scratch

That would install the vim-scratch package