I am trying to use persistent undo with vim 7.4.9
In my vimrc, I have:
set undodir=/home/myname/.vim/undo// set undofile set undolevels=1000 set undoreload=10000
of course there is a directory /home/myname/.vim/undo.
I opened several files with vim and made some changes.
I see flaws created in /home/myname/.vim/undo/:
$ ll /home/myname/.vim/undo/ total 23K -rw-r--r-- 1 hpcpcollab hpcpcollab 523 18 sept. 11:23 %home%myname%foo -rw-r--r-- 1 hpcpcollab hpcpcollab 14K 18 sept. 11:03 %home%myname%bar -rw-r--r-- 1 hpcpcollab hpcpcollab 2,2K 18 sept. 11:52 %home%myname%test
However, when I close these files, open them again and press 'u' to cancel, vim replies: โAlready at the oldest changeโ.
What am I missing?
thanks
Julien
source share