Home

Awesome

vim-pkgsync

MIT License

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.

pkgsync

Setup

  1. Clone this repository.
$git clone --depth 1 https://github.com/rbtnn/vim-pkgsync.git
  1. 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
  1. 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, execute chmod 755 /path/to/vim-pkgsync/bin/vimpkgsync.

Usage

vimpkgsync init [{packpath}]

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.

vimpkgsync list

Show your managed Vim plugin list.

vimpkgsync update

Update your Vim plugins.

vimpkgsync install [opt] [branch={branch-name}] user/plugin

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.

vimpkgsync uninstall [opt] 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.

vimpkgsync clean

Uninstall unmanaged Vim plugins in the packpath.

vimpkgsync [help]

Show the help.