On Apr 11, 6:42 am, Tim Chase <[email protected]> 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 > exceeds the number in the file: > > 999@a >
Yes, this is the case, I use it all the time. An alternate approach which takes advantage of the same feature is making a macro which calls itself: http://vim.wikia.com/wiki/Record_a_recursive_macro -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
