dotfiles configuration for nvim
Get current path :echo stdpath('config')
/home/$USER/.config/nvim
Or if $XDG_CONFIG_HOME is defined: $XDG_CONFIG_HOME/nvim/init.vim
~/.config/nvim/
%userprofile%\AppData\Local\nvim
nvim -u /path/to/vimrc
If Nvim was started with "-u {file}" then {file} is used as the config. $MYVIMRC is not set.
"nvim -u NORC" can be used to skip these initializations without reading a file.
"nvim -u NONE" also skips plugins and syntax highlighting.