Looking for init.vim on windows

Maybe you’re looking for :help init.vim. Actually :help vimrc-intro is better.

But addressing your concern, the init.vim file needs to be created by you the user, why? Because it’s a user configuration and unfortunately will have to be created by the user, so you just need to manually create the nvim folder and the init.vim file.

Here is how you can do it in powershell:

mkdir ~\AppData\Local\nvim && New-Item -Path ~\AppData\Local\nvim\init.vim -Type File

And then you can edit the file in nvim with :edit $MYVIMRC

1 Like