Sublime Forum

How to repeat a macro n amount of times or until the end of the file?

#1

Hi,

I am a new user. I have a text manipulation task that I do not know how to perform efficiently using Sublime Text yet. Here is an example of my original text:

11 11 11
22 22 22
33 33 33
44 44 44
55 55 55
66 66 66

I need to manipulate the text into:

11 11 11 22 22 22
33 33 33 44 44 44
55 55 55 66 66 66

I have created a macro to manipulate the first 2 lines. How do I repeat the macro n amount of times or until the end of the file? There are hundreds of lines in each file. It is not efficient to repeat the macro manually.

Thanks

0 Likes

#2

##Repeat Macro n Times

0 Likes