Search code examples
neovim

Can't find init.vim


I can't seem to find my init.vim. I believe it is supposed to be under ~/Neovim/share/nvim but the only folder there is runtime. Do I have to make a file called init.vim? If so, where do I put it?

If anyone is still reading this, I have not fixed the problem. I have found where init.vim should be but it is not there and when I try to create the file I cannot write it when I save it. Even when I do it as administrator, I cannot write the file.


Solution

  • the config file for neovim is at ~/.config/nvim/init.vim. or if set $XDG_CONFIG_HOME/nvim/init.vim. you can get more info with :help nvim-config from your neovim instance.