In Vim, your configuration file is ~/.vimrc
, with further configuration files in ~/.vim
.
In Neovim, configuration files are located in ~/.config/nvim
. There is also no ~/.nvimrc
file. Instead, use ~/.config/nvim/init.vim
.
You can import your Vim configuration directly into Neovim using this Unix command:
ln -s ~/.vimrc ~/.config/nvim/init.vim