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
Written by Lorin Hochstein
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Github
Authors
jjperezaguinaga
90.17K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#