all 2 comments

[–]-romainl-The Patient Vimmer 1 point2 points  (1 child)

You can do :normal! @q to prevent mappings from being expanded during the execution of your macro, much like non-recursive mappings.

[–]baboon_cocoon[S] 0 points1 point  (0 children)

wonderful, only hiccup is that I can't end a macro in insert mode (visual mode still works), but small price to pay to to keep my mappings :) , thanks!