News for hackers. Stuff that matters.
Re:Leap: Neovim’s Answer to the Mouse by lovehashbrowns on Saturday October 08, 2022 @05:06PM (#33136011)
You get easier at doing the math in your head as you practice more. There’s also lots of methods you can use to skip counting altogether. Like using search. d/“ will delete everything between the cursor and the first “ vim finds, for example. Double quotes are easy, though. :) you can do fun stuff like d/x then dW in this case:

This is just an example. Anyway,

To delete from the cursor at T to just before the A in Anyway without counting words.

Contrived example because there’s an even easier method. There are fun ways to do things and it’s satisfying when you figure out a neat method.

There are no comments on this comment yet.