Re:Neovim 0.5 is overpowering
by continuational on Wednesday May 26, 2021 @02:10PM
(#27294009)
Nope, you can do find > select all to get multiple selections and edit those simultaneously.
[ Parent
| on HN ]
Re:Neovim 0.5 is overpowering
by ThatGeoGuy on Wednesday May 26, 2021 @05:28PM
(#27296347)
This can be done in (neo)vim too, and with a bit better precision and less typing.
:g/<regex>/<command>
is the general form for [g]rabbing lines that match a regex and applying a command over them. You can also chain the command:
:g/<regex1>/g/<regex2>/<command>
I'll admit this isn't exactly something you intuit as easily as a drop-down menu, but (neo)vim does have tools for all these things out of the box.
Re:Neovim 0.5 is overpowering
by chrismorgan on Wednesday May 26, 2021 @09:26PM
(#27298305)
Huh, somehow it’s never occurred to me to get binary logic by chaining :g and :v in this way—I’ve always done things in more complicated ways to make up for the lack.