For any user likes of Vim, vim plugin manager are necessary. You can find some of the options available. My personal favorite is vim-plug, it is pretty vim and simple plug-in. Let's see how to install and use this plug-in on Linux or Unix-like systems.
How to install vim-plug
Now we use wget or curl commands to get plugin.vim, as follows:
or
As shown below:
How to configure vim plugin manager for Linux or Unix vim-plug?
In ~ / .vimrc syntax is as follows:
Example:
Suppose you want to use a bottom state called vim-airline enhancement / beautification vim plugin. You need to add the following in ~ / .vimrc file:
call plug#begin('~/.vim/plugged')
Plugin 'vim-airline/vim-airline'
call plug#end()
Save and close the file.
Install vim-airline or other plug-ins
Start vim text editor:
To install the vim-airline, enter:
:PlugInstall
Example session is as follows:
Check the status using the following command:
: PlugStatus
To update the plug-in, enter:
:PlugUpdate
To upgrade vim-plug itself, type the following in vim session:
Plug Upgrade
Clear up
PlugClean clean plug-in, you need to remove or comment out there now .vimrc
to sum up
Of course, if you like vundle or pathogen, there is no need to switch. However, I prefer this. Have you learned it?
For more information, see the following page: