Sunday, March 6, 2011

Re: calling macros single time and multiple times - what's difference?

> If this is the case, a recursive macro might work. Which would make
> this one of the only situation's I've seen where a recursive macro
> does something better than a macro with a count. Normally it does just
> about the same thing.

Yeah. It's just that:

- A recursive macro doesn't require you to guess a count if you don't
know how many times you need to run it beforehand.
- A recursive macro is harder to stop if it doesn't do what you want!

Grins,

Ben.

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