brenton-leighton/multiple-cursors.nvim

feat: preserve selection when creating cursors from visual mode

b0o opened this issue · 4 comments

b0o commented

For example, in this scenario:

2024-04-17_18-17-53_region_re.mp4

It would be nice if each subsequent cursor maintained the visual selection of ipsum.

You're using the search command (MultipleCursorsAddMatches) to add the cursors, right?

b0o commented

In the screencast above, I was creating a visual selection and then using MultipleCursorsAddDown.

It would be nice if it worked in all cases, MultipleCursorsAdd{Up,Down} and MultipleCursorsAddMatches.

(I used to use mg979/vim-visual-multi and that's how it worked there.)

OK I think I can do that.

I think this should do it: #54.

Let me know if it's OK.