3 ms·
There are all kinds of uses, but generally, they're all a crutch for fucking something up in the first place. Like, for instance, in a Django model, where you'
by frio 16y ago
There are all kinds of uses, but generally, they're all a crutch for fucking something up in the first place. Like, for instance, in a Django model, where you've got a bunch of CharFields, so you copy and paste one line 8 + times, and edit the name of the field... and then realise that you've spelt it "CahrField".
With a multicursor editor, you just drag the mouse over that area to put a cursor on all those lines, and then type the fixed version to apply to all at once.
Regexes would do just as well, but depending on how comfortable you are with them this is a bit more rapid.