- sudo apt install neovim
- mkdir ~/.config/nvim
- touch ~/.config/nvim/init.vim
- curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
for installing a plugin:
-
go to config/init.vim
-
add a plugin via Plug 'https://github.com/vim-ariline/vim-ariline'
-
exit&save :wq!
-
enter again in another instance of neovim neovim
-
:PlugInstall 5.1 Other commands: :PlugStatus :PlugUpdate :PlugDiff - After the update you can press d to see the differences or run :PlugClean - To remove plugins that are no longer defined in the plugins.vim file :PlugUpgrade - Finally if you want to upgrade vim-plug itself run the following