When desired, plugins provide extra functionality for Vim. Vim does not have native support for plugins, so a third-party plugin manager is required. Vim-plug seems to be the most popular.
Installation
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vimUsage
Add to .vimrc:
call plug#begin()
Plug 'prabirshrestha/vim-lsp'
call plug#end()Every time you change the list of plugins, run the :PlugInstall command to refresh the actual installs.
See also
When editing
~/.vimrcfrequently, see Reload .vimrc!