I started using Neovim and moved my .vimrc
to .config/nvim/init.vim
and other stuff is located in .local/share/nvim
.
What is the best way to share configs or even plugins between Vim and Neovim? Symlinks? Can I change the directories in the .vimrc to use only one symlink?
After migrating my vim config to Neovim's default location, this seems to work almost:
ln -s ~/.local/share/nvim/site ~/.vim
ln -s .config/nvim/init.vim .vimrc
Some plugins (using using vim-plug) don't seem to work correctly. I can't load custom colorschmes nor vim-airline.
if has('nvim')
for nvim only commands