M
M
mrHalid2019-01-07 13:32:52
vim
mrHalid, 2019-01-07 13:32:52

Trouble saving .vimrc settings for neovim on Linux?

Why, when I save the .vimrc settings file, then when I go to neovim, they are reset, I have to write source ~/.vimrc every time , what should I do to save the settings?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
ewtqs, 2020-06-02
@ewtqs

in nvim the config is stored elsewhere ~/.config/init.vim
you can create a link

ln -s ~/.vim ~/.config/nvim 
ln -s ~/.vimrc ~/.config/nvim/init.vim

then you can use vim and nvim together

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question