📅 2015-Mar-17 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ plugin, vim ⬩ 📚 Archive
Vim-Plug is a plugin manager for Vim which can automatically install, upgrade or delete plugins for you. The plugins you want to manage should be available on Github.
plug.vimfile to the
$ cd ~/.vim/autoload $ curl https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -o plug.vim
.vimrcto load Vim-Plug. You also indicate the directory where you want it to store the plugins it manages. Finally, you also list the plugins you want to manage. Github is assumed to be source of plugins, so you just need to provide the rest of the plugin URL. Here is an example:
call plug#begin('~/.vim/plugins_by_vimplug') Plug 'kien/ctrlp.vim' Plug 'scrooloose/syntastic' Plug 'majutsushi/tagbar' call plug#end()
:PlugUpdate to install or update the plugins from Github.
:PlugClean to remove the files of plugins which are no longer managed. If you do not run this command, files from unused plugins will be retained.
:PlugUpgrade to update the Vim-Plug plugin itself.
Tried with: Vim 7.4 and Ubuntu 14.04