Wednesday, January 25, 2012

Re: Label Buffer State (Plug-in)?

On Jan 23, 5:43 pm, Paul <google01...@rainslide.net> wrote:
> I wonder if there is a plug-in that provides the ability to mark a buffer's state at different times, so that one may 'undo' until the file goes back to a marked state. Eg., if you could open a file and mark the current state as 'before new thing', then make some changes, then mark the new state as 'before other new thing', then make some more changes. Then you want to go back to the state that file was in at 'before other new thing'.
>
> I'm picturing something like gundo but with support for labels next to the undo points. Does such a thing exist already?
>
> Using source control or just writing the buffer to temporary named files is to much work.
>

You've got two plugin suggestions, a final suggestion might be to
simply write the file at each "mark" and use :earlier 1f, :earlier 2f,
etc. to go back to the point just after each save.

I mostly use gundo but have histwin still installed, mostly for the
tagging feature. One of these days I should start actually using
that :-)

--
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