Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
In recent version of Vim the $XDG_CONFIG_HOME environment variable is now supported.
$XDG_CONFIG_HOME
I believe thatOn Unix systems if you have $XDG_CONFIG_HOME defined the standardfirst vimrc path considered is now: $XDG_CONFIG_HOME/vim/vimrc/vim/vimrc
vimrc
$XDG_CONFIG_HOME/vim/vimrc/vim/vimrc
I believe that if you have $XDG_CONFIG_HOME defined the standard vimrc path is: $XDG_CONFIG_HOME/vim/vimrc/vim/vimrc
On Unix systems if you have $XDG_CONFIG_HOME defined the first vimrc path considered is now: $XDG_CONFIG_HOME/vim/vimrc
$XDG_CONFIG_HOME/vim/vimrc