replay a vim macro until end of buffer

后端 未结 5 619
悲&欢浪女
悲&欢浪女 2021-01-29 21:43

I want to run a macro I just recorded in register \"x\" on every single line of an open buffer, from my cursor to end of the buffer, in vim. How do I do that?

5条回答
  •  一生所求
    2021-01-29 22:07

    Personally I would do

    VG:normal @x
    

    Edit: changed register to the one you specified.

提交回复
热议问题