On 2/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Can someone assist with the following:

How do I get a map to repeat a certain number of times?

e.g., given a simple map like:

:map = 0Ea  ;^[j

I'd like to be able to do something along the lines of
95.

to get the map to repeat 95 times. What I find is that the 'j'
key in the map is not being implemented. I have experimented
a bit with using parentheses inside the map to group
commands but that hasn't panned out.

I'm sure a simple vimscript would do this, but I haven't
yet ventured into that domain and would like to find out
what I'm missing here re: mapping.

You can achieve iwhat you want with somle simpe s/// command + range.
Does the following simple s/// command do what you want ?:
   .,.+94s/\>/ ;/

Yakov

Reply via email to