Sublime Forum

Awesome multi-cursor feature I missed

#1

Did you guys know that multiple cursors also gives you multiple clipboards?

So (for example) if you are declaring a bunch of localization constants

LOC_STRING_1 LOC_STRING_2
and you want to set them to string keys that are exactly the same as themselves, you can just multi-select them, jump to the end of the line, add quotes and paste. Each line will copy correctly.

const string LOC_STRING_1 = "LOC_STRING_1"; const string LOC_STRING_2 = "LOC_STRING_2";
I know, I know, for some people I am sure this is old news, but I had never tried it before and was delighted when it worked!

0 Likes

#2

I know, isn’t it great?!
Sublime’s copy/paste functionality works well in most cases, but if you’re trying to do multi-selection multi-line copy/pastes, you will find that it’s a bit broken. In such a case, I recommend github.com/adzenith/CopyEdit.

0 Likes