A minimalist Vim plugin manager. See git repo.
Download plug.vim and put it in the “.vim/autoload” directory.
Add a vim-plug section to your ~/.vimrc
Begin the section with call plug#begin();
List the plugins with Plug commands;
call plug#end() to update &runtimepath and initialize plugin system.
Example
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree'
call plug#end()
| Commands | Command Description |
|---|---|
| PlugInstall | Install plugins |
| PlugUpdate | Install or update plugins |
| PlugClean | Remove unlisted plugins (bang version will clean without prompt) |
| PlugUpgrade | Upgrade vim-plug itself |
| PlugStatus | Check the status of plugins |
| PlugDiff | Examine changes from the previous update and the pending changes |
| PlugSnapshot | Generate script for restoring the current snapshot of the plugins |