Ulrich Dangel <bts@bts.grml.org>:
> 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.
When does vim store this information? If it's just upon `:quit', I
don't think there's any reason not to do this (although vim's
undo-trees can become rather big).
Regards, Frank |