On Jan 7, 3:40 am, "Jeffrey 'jf' Lim" <[email protected]> wrote:

> 1. "mark history" - is there a way to possibly mark history ("undo/redo")
> states like how you can mark points in text?
>
> I do the following right now:
> - "<esc> :w<enter>" when I want to save a "safe history state" for me to go
> back to
> - do many edits, test things out
> - if I'm not happy or decide to abandon this group of edits, I roll back to
> that last "safe history state" by hitting 'u' multiple times, constantly
> keeping my eye on the status bar to find that ":w" state (no '[ + ]')

Instead of hitting 'u' can you just do ":e!" to abandon your changes
and
revert to the saved version?  That's what I usually do; the only
obvious
difference to me (ymmv)  is that hitting 'u' moves your cursor back to
where
it was before the changes.

regards,
Geoff

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

Reply via email to