This would be particularly useful for macros, i.e., select visually the exact lines I want to perform the macro on, and then run the macro. But currently when it finishes the first action, the visual selection turns off, so the next action only works on the current line.
w ^R0.extension | d^M
(Where the 0 register is known to have a legal filename in it with no spaces.)
I'm trying to extract visually selected lines to a different file, and a macro along with Ex-mode commands would do nicely, IF I could get the Ex-mode commands to work more than once on the same selection.
How can I do this?