I am not a very orderly person at times and I often find myself in the situation of losing my old fully tweaked vimrc file and having to start over all again. Or having different versions of vimrc files on different clients. Since this mess is getting out of hand for me, I would like to know if there is a good way of managing my vimrc file.
My first initiative is put my _vimrc on subversion (Google Code) and I intend to maintain it. Other ideas are welcome.
Update
I settled with the following solution:
Upload the
.vimrc
and.gvimrc
to an online code repository in a directory calledVim
. Use filename_vimrc
and_gvimrc
so that they aren't hidden, and for compatibility with Windows.Checkout the repository on the target system
On Mac OSX/Linux create symbolic links:
~ $ ln -s my_repository/Vim/_vimrc $HOME/.vimrc
~ $ ln -s my_repository/Vim/_gvimrc $HOME/.gvimrc
On Windows I checkout the Vim folder over the one in the Program Files directory. SVN complains about already existing files there, but you can add those to the ignore list.