Some introduction ...
NeoVim (opens new window) 0.5 can be installed using the neovim-ppa.
sudo add-apt-repository ppa:neovim-ppa/stable sudo apt-get update sudo apt-get install neovim
Next you should create a custom
vimrc file for it - see
It will tell you that you should execute (
:) the following from within
:call mkdir(stdpath('config'), 'p') :exe 'edit '.stdpath('config').'/init.vim'
Then copy in the following piece of code, which will ensure that your normal
.vimrc file is loaded. So you don't have to manage that second configuration except it really is a
nvim specific configuration.
set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath source ~/.vimrc
This file will be located under
If you are lazy and are used to type
vim in your terminal, then you should add the following aliases to your
alias vim='nvim' alias vi='nvim'
And that's it. Have fun with it 😁