I recently messed up my
.vimrc file while trying to add some productivity hacks.
It took a major scare for me to invest the effort in figuring out how to symlink my .vimrc file. I needed version control.
Here are the summarized steps that I took:
$ cd $ mv .vimrc .vim/ #=> Move your .vimrc file into the .vim/ directory $ cd .vim/ $ git init $ git add . $ git commit -m "First Commit" #=> Get your .vim/ directory under version control $ cd $ ln -s ~/.vim/.vimrc .vimrc #=> Go to your home directory and symlink the version controlled .vimrc