wrote:
> Hi all:
>
> I found Vim's tree undo history very convincing, except for its rather difficult to use UI. The Vim package Gundo solves this by introducing a very useful interface to Vim's undo.
>
> I use :GundoToggle to display the undo tree. Does someone know how I can make Gundo to auto-update its undo tree (if existing) after each new undo change being created?
>
> Thanks for any hint.
>
You could get close, if you make a CursorHold autocmd which checks the
b:changedtick variable (:he b:changedtick-variable), and if there has
been a change since the last time the autocmd fired, toggle the undo
tree off and back on to force an update.
Personally I think I would find this annoying, I only open the undo
tree when I need to use it.
--
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
No comments:
Post a Comment