[comp.editors] how to repeat vi macros

malcolm@hemel.bull.co.uk (Malcolm Preen) (03/02/91)

Given a vi macro, (for ease of explanation, say :map q jl, yes I know its not
alot of use but it will help me illustrate the point) if i repeat that macro
by pressing the key a number of times, it works as expected.

However, if I use the standard repitition factor method, and enter 5q, then
the initial command in the macro is done 5 times, followed by the remainder
of the macro.

Is there anyway of bracketing the macro so that the whole macro can be
performed the required number of times ?

Thanks in advance,

--
+-----------------------+------------------------------+
|Malcolm Preen          |Malcolm.Preen@hemel.bull.co.uk| "Wolf nipple chips,
|Bull HN Info. Sys. Ltd.|HM14 UK03                     |  get them while
|Maxted Road            |Tel: +44 442 232222 x4367     |  they're hot,
|Hemel Hempstead        |Fax: +44 442 236072           |  they're lovely"
|Hertfordshire, ENGLAND |                              |
|HP2 7DZ                |                              |
+-----------------------+------------------------------+