I modifying a gcode file with custom toolswap codee, and I need to replace every instance of "T0" (
^T0$) with a large amount of text (19 lines), which is stored in a separate file. How can I do so quickly?
There are about 100 instances that need replacement, and I can see the need to do more in the future, so I need something that does it all at once.
I tried defining a macro with
q to replace one instance, hoping to run it a certain number of times, but I could only run the macro once. The macro deleted the line, and then read (
:r) from the other file.