Re:Neovim 0.5 is overpowering
by cassepipe on Wednesday May 26, 2021 @03:18PM
(#27294848)
So the second time, you're entering Visual Block mode or plain Visual mode?
What does the g Ctrl+A do?
[ Parent
| on HN ]
g Ctrl-A increments all the numbers, but every instance gets incremented by one than the previous.
First line would be Enum1, second Enum2, third Enum3. It's a really neat feature imo.
Though I did make a mistake, if you selected everything it'd catch the name numbers too, so you'd have to go into visual block mode and only select the enum parts, then do g Ctrl-A.
That said the numbers probably weren't supposed to be taken seriously now that I think about it.