echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
5.21k stars 188 forks source link

mini.cursors: minimal multicursors like helix #452

Open huwqchn opened 1 year ago

huwqchn commented 1 year ago

Contributing guidelines

Module(s)

vim-visual-multi

Description

I know nvim has macros, but a minimal multi-cursors feature would be great just like helix. Use C to create a cursor, and Use 'S' to toggle select cursor mode, when in select cursor mode, only the currently selected cursor is active and can be operated. Use 'D' to delete a cursor.

echasnovski commented 1 year ago

Thanks for the suggestion!

Yes, I have a vague idea to work on this eventually. There are some rumors that multicursors might be coming to Neovim core, so I'll wait a bit on this one.

huwqchn commented 1 year ago

That's great. I think multi-cursor is a middle ground between macros/regular expressions/:g and text objects.

pianocomposer321 commented 1 year ago

Oh my goodness this would be awesome!!

@echasnovski What's your source for the rumors? There was an issue about this some time ago but iirc it was closed and locked. Has there been discussion more recently?

echasnovski commented 1 year ago

Oh my goodness this would be awesome!!

@echasnovski What's your source for the rumors? There was an issue about this some time ago but iirc it was closed and locked. Has there been discussion more recently?

Discussions among core team members in public Matrix room. I now hope they were not jokes 😅

amirhhashemi commented 9 months ago

Looks like it's actually planned: image

SadSock commented 3 months ago

This issue has been discussed for ten years, hopefully mini can finally end this debate.

SadSock commented 3 months ago

Looks like it's actually planned: image

This has been planned since version 0.5, ten years have already passed, and now it has been postponed again to version 0.12. I don't think we should have any expectations of the official side.

echasnovski commented 3 months ago

If it is postponed, then there is a good reason for it. I am afraid, 'mini.cursors' is not top priority right now.

SadSock commented 3 months ago

If it is postponed, then there is a good reason for it. I am afraid, 'mini.cursors' is not top priority right now.

It's too bad, what are your current work focuses on what aspects?

echasnovski commented 3 months ago

It's too bad, what are your current work focuses on what aspects?

On polishing 'mini.icons' and getting through planned modules.