I just discovered the persistent undo option in vim. Basically it saves undo
information in a file. I would love to get that integrated in our vimrc.
Basically you just have to set undofile in the vimrc and the feature will be
enabled. Maybe undodir should also be set to something like ~/.vim/ as it
creates additional hidden files. |