2 ms·
> Yeah, macros can do everything multiple cursors can do Not everything. You can perform set operations on multiple selections, or filter them, eg. by keeping
by Veedrac 9y ago
> Yeah, macros can do everything multiple cursors can do
Not everything. You can perform set operations on multiple selections, or filter them, eg. by keeping every nth or removing those on blank lines. You can save and restore selections, or use them as jump points. You can find their covering range, globally or on a line-by-line basis. You can count them or run scripts across them. Most importantly perhaps is you can copy them.
Similarly, macros can do things multiple selections struggle with, largely because macros apply sequentially so the start to one can depend on the end of another.