> Ben
>
> These are very interesting. I will explore some more.
>
> I like that it works on the undo tree because I have autosave on so
> the diff modules do not see behind the last file save.
>
> I also have very large files that have been edited daily for years
> (I never liked databases) and of course I have persistent undo set.
>
> What I would like is some command (better even outside the editor from
> the command line) that prints just the last edits say in 5 minute
> blocks or undo tree branches or whatever.
>
> Just the edit text without any diff syntactic sugar.
>
The Histwin plugin shows the edit times on the big undo tree list,
from that you can see which is your edit from 5 minutes ago.
Pressing 'D' on that edit, will open a new scratch buffer with the
contents of your buffer at that time, and :diffthis on that buffer and
the buffer being edited.
Then you will be able to very quickly see exactly what has changed in
the last 5 minutes, with no diff syntax to bother with.
When I want to use Histwin in this way, I often use Gundo first, to
find the specific change I'm interested in, because the preview window
of Gundo, and the tree view of the changes, makes it much easier to
work with.
--
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