Two options. (See :h vimrc for a default location and the -u option)
Create an alias vim -u ~/.vim/vimrc , this will force vim to use this vimrc instead of ~/.vimrc
or
Transition to vim 7.4. One of its default vimrc locations is ~/.vim/vimrc
You can also simulate vimrc elsewhere.
Create a ~ / .vimrc file containing
runtime vimrc
The task is to upload the first file named vimrc to your execution path. Which should be ~/.vim/vimrc
Or
You could simply symbolize ~ / .vim / vimrc in ~ / .vimrc
ln -s $HOME/.vim/vimrc $HOME/.vimrc
(I heard that some people had problems with this, but I don’t know yet)
source share