Can't find init.vim

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-configuration from your neovim instance.


For Windows 10, the neovim's init.vim file is located in %userprofile%\AppData\Local\nvim\init.vim. Typically, it would be located in : C:\Users\USERNAME\AppData\Local\nvim\init.vim. Change USERNAME with your username.


I couldn't find init.vim at ~/.config/nvim/init.vim in Ubuntu 18.04. I installed neovim with neovim instructions:

Since 18.04 As in Debian, neovim is in Ubuntu.

sudo apt install neovim

Python (:python) support seems to be automatically installed

sudo apt install python-neovim
sudo apt install python3-neovim

So instead, I use vim-bootstrap to create the config file and put in neovim configuration:

mkdir ~/.config/nvim & cp ~/Downloads/generate.vim ~/.config/nvim/init.vim 

PD: I am using zsh shell and I have vim installed.

Tags:

Neovim