My neovim-init.vim Configuration
We use vim-plug as a plugin manager. First, install it according to the README.md in the project. For example:
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
For example:
mkdir -p ~/.config/nvim
cp init.vim ~/.config/nvim
cp ginit.vim ~/.config/nvim
Use :PlugInstall
to install all the plugins. Some plugins requries pynvim
, install it with pip install pynvim --local
, and then restart the neovim to execute :UpdateRemotePlugins
.
YouCompleteMe
should enable python3
in neovim, so extra instaurctions should be done:
pip3 install neovim --upgrade