gabesoft / evil-mc

Multiple cursors implementation for evil-mode
MIT License
383 stars 35 forks source link

FR: a way to add new cursors by clicking #56

Closed milkypostman closed 7 years ago

milkypostman commented 7 years ago

I have been pausing mc, then moving to different positions to add a new cursor, but I find this to be tedious.

it would be nice to have a way to add cursors by clicking. the normal multiple-cursors has an add-cursor-on-click function that does this.

i will see if I can look into it but time always.

gabesoft commented 7 years ago

That sounds like a good idea. I'll try to look into it also when I get a chance

gabesoft commented 7 years ago

I tentatively ported the functionality from multiple-cursors. To use it just set up a key binding like this (global-set-key (kbd "C-S-<mouse-1>") 'evil-mc-toggle-cursor-on-click). Let me know if you run into any issues.

milkypostman commented 7 years ago

Amazing. I'll give it a shot!

On Fri, Apr 14, 2017 at 00:16 Gabriel Adomnicai notifications@github.com wrote:

I tentatively ported the functionality from multiple-cursors. To use it just set up a key binding like this (global-set-key (kbd "C-S-") 'evil-mc-toggle-cursor-on-click). Let me know if you run into any issues.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gabesoft/evil-mc/issues/56#issuecomment-294091945, or mute the thread https://github.com/notifications/unsubscribe-auth/AACUsuKmZTPg46SWyZsmCHZEWFGDyNHcks5rvwEogaJpZM4M8rzq .

milkypostman commented 7 years ago

seems to work great. thanks so much!