0

I just installed neovim on a fresh Manjaro install and my ~/.config/nvim directory isn't being generated. I tried uninstalling and reinstalling and I still have the same issue. I also ran a search for init.vim and there was no file on my system, the only relevant file I could find was sysinit.vim in /usr/share/nvim. My $XDG_CONFIG_HOME is set to ~/.config. Can I just create a ~/.config/nvim directory that contains init.vim, or is there a directory I should copy to that location? Thanks.

1 Answer 1

0

In short, yes. Just create ~/.config/nvim/init.vim and neovim will find it. Nothing magic happens; neovim simply looks for an init.vim file at that location.

(You can check all the files installed by a package with e.g. pacman -Ql neovim)

Your Answer

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

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