4

I wanted to take a look into neovim coming from vim and my question is about the .vimrc/.viminfo as well as the .vim folder. Preferably I would like to use fresh instances of these.

Do I have to create them by myself or will neovim create them? I don't want to link them together and like the idea of a reset.

1 Answer 1

6

Neovim dosn't use .vimrc/.viminfo as well as the .vim folder.

For Neovim:

  • Use $XDG_CONFIG_HOME/nvim/init.vim instead of .vimrc for storing configuration.
  • Use $XDG_CONFIG_HOME/nvim instead of .vim to store configuration files.
  • Use $XDG_DATA_HOME/shada/main.shada instead of .viminfo for
    persistent session information.
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.