chrishrb / gx.nvim

Implementation of gx without the need of netrw
Apache License 2.0
186 stars 19 forks source link

[Feature Request] Open multiple links when in visual selection mode #48

Open KiLLeRRaT opened 4 months ago

KiLLeRRaT commented 4 months ago

It'd be awesome if gx.nvim supported a way to open multiple links when using visual selection.

When you select 5 links, open all 5. I haven't yet thought about if it should open only if each line contains only a link, or to try and find all the links in all the text (as in, if links are between text).

https://mylink1.com
https://mylink2.com
https://mylink3.com
https://mylink4.com

vs

Hello and welcome to https://mylink1.com. Here you will find some good stuff. https://mylink2.com
At our HQ website, https://mylink3.com, We welcome any new visitors with a registration step redirect to https://mylink4.com

Regards,

pidgeon777 commented 3 months ago

Yes, it would be cool! I was going to open the same feature request 👍.