Hi Marco!

On Do, 10 Nov 2011, Marco Guidetti wrote:

> Hi all!
> 
> I am not able to get persistent undo working.
> In my .vimrc I have this:
> [...]
> "persistent undo:
> set undofile
> "in the right directory
> set undodir="~/.vim/undo"
> [...]
> (the directory ~/.vim/undo exists and is readable and writable).
> 
> I also use the Gundo plugin
> (http://www.vim.org/scripts/script.php?script_id=3304) and pathogen.
> 
> I would expect, when closing and reopening a file, to be able to see
> the undo tree of all sessions on the same file inside gundo's window,
> but I can't.
> I am probably missing something or doing something wrong, can someone help?

Actually persistent undo should just work. What happens, if you enter:

:exe "verbose :rundo" undofile(@%)

regards,
Christian

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to