2009/8/10 googler <[email protected]>:
> I have a defined a recording, say using qa. Now I want to execute this
> recording using @a. But I don't know how many times to call it for all
> the changes to take effect, so I can't do something like 1...@a. I just
> want to execute it so that it will run through the entire file making
> the necessary changes. Is there a way to do this? Thanks.

As well as the other options suggested, you could include something at
the end of the macro that fails when there are no more matches, e.g. a
substitute without the 'e' flag.  Then run 100...@a and it will keep
running until the s/// has no matches.

Al

-- 
http://sites.google.com/site/abudden

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to