dear vimmers, i have some macros defined, ie some registers (a, i, d, etc) contain commands. i execute them via @a, @m, and so. how to execute a particular macro for every line that matches a pattern?
Something like: : g/<pattern1>/<macro a> : g/<pattern2>/<macro b> : g/<pattern2>/<macro g> i'm using vim 6.4. thank you for your help best regards zbigniew kowalski