I have the following in my .vimrc file:
" Save all undo files in a single location (less messy, more risky)...
" Save a lot of back-history...
" Actually switch on persistent undo
I've created the
.VIM_UNDO_FILES in my home directory and have verified VIM has persistent_undo compiled in. Yet, when I close out a vim file and reopen, I cannot undo anything I did before the file was closed. Maybe I misunderstand how this is supposed to work.
I tried commenting out the if/endif and that didn't help. I also tried changing
~. that did not work either.
.VIM_UNDO_FILES file size never grows. It's stuck at 0.