Re: Macros on rest of file (was "Any non-programmer users of Vim here?")

2011-04-11 Thread Ben Fritz
On Apr 11, 6:42 am, Tim Chase wrote: > Lastly, I think if Vim encounters an error in macro-execution > (such as trying to move past the EOF), it stops not only the > macro in process but any subsequent runs, so you can issue some > ridiculous number of repetitions as your count as long as it > e

Re: Macros on rest of file (was "Any non-programmer users of Vim here?")

2011-04-11 Thread Tim Chase
On 04/11/2011 01:11 AM, eNG1Ne wrote: Quibbles? can't find a "run to end of file" for macros Would :,$norm @a work for you? (obviously assuming that your macro was recorded into register "a") Alternatively, if your macro processes more than one line at a time, you could tweak it to :,