The minimalist plugin manager for Vim/Neovim using +packages
feature.
vim-pkgsync provides :PkgSync
command for Vim and vimpkgsync
command for Terminal that have the same interface.
- Clone this repository.
$git clone --depth 1 https://github.com/rbtnn/vim-pkgsync.git
- Add it to
&runtimepath
. The following is a minimal example of .vimrc:
set packpath+=~/vim
set runtimepath+=~/vim-pkgsync
filetype plugin indent on
syntax enable
- If you want to use
vimpkgsync
command in Terminal, Add/path/to/vim-pkgsync/bin
to PATH environment. And if you are using MacOS or Linux, executechmod 755 /path/to/vim-pkgsync/bin/vimpkgsync
.
At first, you must run this command for initialization of this plugin manager.
If {packpath} is specified, this plugin manager initializes with {packpath} as the packpath.
If {packpath} is not specified, the default value of {packpath} is ~/vim
.
Show your managed Vim plugin list.
Update your Vim plugins.
If opt
is not specified, install user/plugin
from GitHub as a start Vim plugin of the packages feature.
If opt
is specified, install user/plugin
from GitHub as an opt Vim plugin of the packages feature.
If branch={branch-name}
is specified, install the {branch-name} branch of user/plugin
.
If opt
is not specified, uninstall user/plugin
from start Vim plugins in the packpath.
If opt
is specified, uninstall user/plugin
from opt Vim plugins in the packpath.
Uninstall unmanaged Vim plugins in the packpath.
Show the help.