On 7/11/06, John Reese <[EMAIL PROTECTED]> wrote:
So it seems to me that it would be interesting, sometimes, to be able
to type some colon-mode command and see the whole stack of undo and
redo commands and your current position.

At current position ? Sounds too restrictive to me.
If I wanted to see summary of changes, the I'd prefer
to see all changes per file, not "per current position". (And it's
easier to show, too.)

What if the change is in same line but not at current position ?
Then it's not shown ? I have serious doubts about usefulness
of this show. What if the change was in nearby lines ?

I'd prefer report of all changes, not just per single position.

And it might be difficult to keep track of what exactly
was current position before many changes.

I mean, what is line 181 now, was different line
number before some changes.

Did you look at :undolist in vim7 ?

Yakov


I mean, most commands can be
represented fairly readably... you might imagine using comments for
things that aren't reflected in the command itself, like the cursor
position or any deleted text.  Something like

:lsundo
 1. dw " word=blah position=181,1
>2. iTyped Something Here<Esc> " position=181,1
 3. Icommand I just undid<Esc> " position=181,1

So, in summary, my question is (a) is there anything like that
already, and (b) how might I go about building something like that if
it doesn't exist and yet just happens to be extremely easy to build?

Reply via email to