|
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? Thank you, marco -- 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 |
|
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 |
|
In reply to this post by Marco Guidetti
On Nov 10, 6:41 am, Marco Guidetti <[hidden email]> 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 have a very similar setup, though I don't use pathogen, and my undo directory is ~/.vimundo. Works great for me! > 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? > Maybe your 'undolevels' option is set poorly? -- 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 |
|
In reply to this post by Marco Guidetti
Am 10.11.2011 13:41, schrieb Marco Guidetti:
> set undodir="~/.vim/undo" The double quotes should not be there (they start a comment) :set undodir=~/.vim/undo -- Andy -- 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 |
|
> The double quotes should not be there (they start a comment)
> :set undodir=~/.vim/undo Also, make sure that the directory exists. -- Ivan Sichmann Freitas GNU/Linux user #509059 -- 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 |
|
In reply to this post by Andy Wokula
On Thu, Nov 10, 2011 at 11:39 PM, Andy Wokula <[hidden email]> wrote:
> Am 10.11.2011 13:41, schrieb Marco Guidetti: >> >> set undodir="~/.vim/undo" > > The double quotes should not be there (they start a comment) > :set undodir=~/.vim/undo Hi, thank you all. This appeared to solve the problem and, as someone said, just works. :) Thanks, marco -- 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 |
| Powered by Nabble | Edit this page |
