Hi,

On 06/10/2012 08:43 PM, Ben Fritz wrote:
On Saturday, June 9, 2012 1:30:38 PM UTC-5, Richard wrote:
When editing one produces changes. The '.' operation
will repeat the last change. What I want to to
be able to capture the current state of the change-list
(if such a thing exists), run a script which will make changes,
exit the script, and then if I type '.' have the change
that occurred just prior to running the script be the
change that is repeated.
Is this possible?


Not really. It might be possible to simulate such a thing with a complicated 
script and key mapping, but the storage for the last change is read-only. But 
it's only a single remembered command anyway, not a list, so I wouldn't worry 
over-much about it.


Without such an ability, a small feature of my script
will give incorrect results. I certainly do not want to
have to go through some massive effort to get this to
work; I was hoping for some already built-in Vim
capability - Vim is really such an open environment.

I guess I would not expect others to "worry over-much about it"
but, I would have liked this feature to work, so, I
do worry about it. Alas,

Thanks again
Richard

--
Quis custodiet ipsos custodes

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