A vim plugin manager that uses vim 8's native plugin support and git submodules. If you want more information on the basics of this I recommend reading Vim: So long Pathogen, hello native package loading, as it was my reference when creating the script.
git clone [email protected]:tuckerevans/plugvim.git cd plugvim make install
- install
- update
- remove
- list
- help
- version
- -g "local git directory" default: ~/dotfiles/
- -d "directory containing .vim" default: GIT_REPO/vim/
- -o place plugin in opt folder instead of start.
- -c commit changes
- -l log internal command output in ~/.plug/date.log instead of /tmp/PLUGVIM-date.log
- Basic:
plug install https://github.com/airblade/vim-gitgutter.git
- Install gitgutter and commit changes:
plug install -oc https://github.com/airblade/vim-gitgutter.git
- In a different Git repository (not */dotfiles):
plug install -g path/to/different/repo https://github.com/airblade/vim-gitgutter.git
- Basic:
plug update
- With a set number(8) of threads:
plug update -j 8
- Basic:
plug remove gitgutter
- If gitgutter was installed in opt directory:
plug remove -o gitgutter
- If .vim is not located in
GIT_REPO/vim
plug remove -d path/to/parent/of/.vim
- If .vim is not located in