put `.vimrc` into the `.vim` folder

Is it possible to put the .vimrc into the .vim folder so that I only have to sync the whole folder and not folder and file to other computers?


Starting in Vim 7.4 you can also just place a file vimrc into $HOME/.vim/vimrc or $HOME/vimfiles/vimrc for Windows and Vim will find it automatically.

Note, this is vimrc without a . (dot) or _ (underscore) like the traditional .vimrc/_vimrc file would have.


I keep my .vimrc in .vim and symlink it.

ln -s ~/.vim/.vimrc ~/.vimrc

On Windows I believe you can do the same with mklink.