In Vim, is it possible to change the default location of the user vimrc file, i.e., from $HOME/.vimrc to some other location ?
Another solution might be to create a symlink to you preferred location. I have my .vimrc in $HOME/.vim/.vimrc and symlink to it. This way I can have it in a git repo and backup it.
symlink
.vimrc
$HOME/.vim/.vimrc
2.1m questions
2.1m answers
60 comments
57.0k users