vim-plug is a lightweight plugin manager for Vim and Neovim. A single script file lists, installs, updates, and removes plugins from git repositories.
Overview
vim-plug helps Vim and Neovim users manage editor plugins from a short configuration block in their init file. You declare plugins with simple Plug commands between plug#begin() and plug#end(), then run editor commands to install, update, diff, or clean them.
The design stays minimal: one file with no dependencies, a small vocabulary of commands, and syntax meant to be learned quickly without boilerplate. It aims to stay stable across Vim releases since 2006 and across Neovim versions.
Installation and updates use parallel git work, shallow clones to save disk and download time, and optional on-demand loading so plugins load only when needed. You can pin plugins to a branch, tag, or commit, run hooks after updates, and keep plugins that you manage outside vim-plug.
Day-to-day workflows include PlugInstall and PlugUpdate for fetching code, PlugDiff to review changes and roll back, PlugClean to drop unlisted plugins, PlugStatus for health checks, and PlugSnapshot to save a restorable picture of your plugin set. Global settings control threads, timeouts, shallow cloning, and how the plug window opens.
Key features
- Single-file setup with no dependencies
- Parallel plugin install and update
- Shallow git clones
- On-demand plugin loading
- Update review and rollback
- Branch, tag, and commit pinning
- Post-update hooks
- Externally managed plugin support
Use cases
- Managing a personal Vim or Neovim plugin list
- Installing plugins from git repositories
- Updating plugins with a diff before accepting changes
- Speeding editor startup with lazy-loaded plugins
- Pinning plugins to specific commits or branches