Use XDG_CONFIG_HOME
brandonkal opened this issue · comments
This assumes that XDG_CONFIG_HOME is ~/.config
Ideally it should not. For instance, line 2 of init.vim should be:
execute 'source ' . stdpath('config') . '/plugins.vim'
I should be able to clone the repo and try it out:
git clone jarvis
XDG_CONFIG_HOME=$PWD/jarvis/config nvim jarvis