I was given a plugin for Vim.
It came in something called a
- What am I meant to do with this exactly?
- Where do I put it?
- Do I need to be root to install it?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
Simply open the vimball file in Vim and then execute
It will move the files to their appropriate folders in your
You don't need to be root as it just copies files to your
~/.vim directory. You can delete it after you have sourced the vimball file
:UseVimball pathinstead of
:so [name].vbafor vim8-packages/dein/vim-plug/minpac
If you use vim8 pack paths or a plugin manager which supports local plugins (e.g. dein or vim-plug), you might want to install a vimball (
.vba[.gz]) into a specific directory and not merge it with your
vim8 pack path/minpac
$ vim http://www.drchip.org/astronaut/vim/vbafiles/vis.vba.gz :UseVimball ~/.vim/pack/manual/start/vis
$ vim http://www.drchip.org/astronaut/vim/vbafiles/vis.vba.gz :UseVimball ~/.vim/dein-manual/vis
$ vim http://www.drchip.org/astronaut/vim/vbafiles/vis.vba.gz :UseVimball ~/.vim/plugged-manual/vis
However, note that default plugins (e.g. netrw) are sourced before plugins installed into a vim 8
packpath. The source order is:
This means installing a newer netrw version into a
packpath is not as straightforward as one would think. See for details Vim 8 packages, how do I overwrite a default package?.