On Do, 07 Okt 2010, Eric Smith wrote:
> How may I index or name a specific state of the buffer in
> order to return to it later?
Are you talking about undo states? The basic idea is to do something
like this on a state you want to remember:
:let my_old_state=changenr()
and then you can jump to that change, using:
:exe ":u" my_old_state
But, this is in my opinion very clumsy. So I would suggest to try my
plugin histwin http://www.vim.org/scripts/script.php?script_id=2932
that let's you tag certain state, jump to and diff previous changes.
regards,
Christian
--
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