Multiple-cursors

Nikolai Weibull now at disu.se
Tue Aug 27 09:53:25 CEST 2013


On Mon, Aug 26, 2013 at 8:31 PM, Frank Fischer
<frank-fischer at shadow-soft.de> wrote:
> Am Mon, 26 Aug 2013 13:38:25 +0200
> schrieb Nikolai Weibull <now at disu.se>:
>
>> Has anyone set up Evil with multiple-cursors?  I’ve just started
>> investigating multiple-cursors and it seems preferable over iedit.  It
>> doesn’t play as well with Evil, however, at least not out of the box,
>> and I was wondering if there are some obvious changes to make to get
>> them to work well together.

> I've never used multiple-cursors which more or less implies that
> there's no code in Evil to make both work together.

It’s actually rather nice.  For those who haven’t seen it in action,
here’s a screencast:

http://emacsrocks.com/e13.html

> And probably this is not so trivial (maybe in insert-state only, but
> certainly not in normal-state).
>
> But of course, patches are welcome ;)

I haven’t looked at the code, but my guess is that implementing this
shouldn’t be too difficult.  The code should in many ways be similar
to that handling visual block mode.

Actually, multiple-cursors mode is really an extension of visual block
mode, as visual block mode is more or less multiple-cursors mode
limited to continuous lines anchored at a specific column.

I won’t have time to look at this right now, but if no one else has a
better solution, I’ll certainly look at it sometime in September.



More information about the implementations-list mailing list