A package manager for vim, designed for use with pathogen
brew install Jefferson-Faseler/taps/prion
go get -u github.com/Jefferson-Faseler/prion
cd $GOPATH/src/github.com/Jefferson-Faseler/prion
go install .
Prion is designed to work like any other package manager from the cli
This will work for either https or ssh remote urls
prion install [repo-urls]
prion update [package names]
or
prion update --all
prion reinstall [package names]
or
prion install [repo-urls]
# and confirm in prompt
prion rm [package names]
prion ls
prion config add [configuration string]
Ex: prion config add "set autoindent"
Open your .vimrc in your default editor if set, otherwise it will open it in vim.
prion config edit
At it's core, prion is simplifying the normal pathogen method of cloning into ~/.vim/bundle/
and then over time updating the packages as you go.
Prion also offers an easier way to update your .vimrc
configuration. In a normal workflow, you are constantly opening, editing, saving, and reloading your vim editor to make and check changes. Prion cuts that cycle into two steps for most cases.
Prion is looking for two env variables you may have set:
VIMRC_PATH
(defaults to$HOME/.vimrc
)VIM_BUNDLE_DIR
(defaults to$HOME/.vim/bundle
)
To override defaults you can you can export the vars, in-line them, or make a .prion.env
in your home directory.
Knock yourself out