> I can record keystrokes to a register > I can playback the register > I can playback the register count times > Is there a way to playback the register by range?
Though untested, my first thought would be something like :'<,'>g/^/norm @z (assuming your macro was in register "z") Which in theory could be extended to execute a macro on lines matching a regexp: :g/regexp/norm @z If it doesn't work, I'm sure others out there have good suggestions (that they've tested ;-) too. -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
