News for hackers. Stuff that matters.
Re:Learn Vim (2021) by sanderjd on Saturday February 25, 2023 @12:15AM (#34934121)
Yeah I think vim style modal editing is really useful, but honestly I get about 70% of the value from doing it "wrong"; using a fast key repeat and holding down hjkl, using visual mode a lot, etc.

It really doesn't need to be this mystical uber-hacker thing to be useful.

Re:Learn Vim (2021) by bambataa on Saturday February 25, 2023 @02:58AM (#34934821)
I do the same and agree, though I’m trying to push myself to be a little more sophisticated. The beauty of doing it that way is that it takes no thought.

I want to select from here to just after that letter P. With hjkl and visual mode I’m already halfway there. Whenever I try something clever I always find myself thinking “is that the end of a block? Or maybe I should cut directly to P but oh there’s another one on the line above so it’s the second, need to amend” etc etc etc.

Re:Learn Vim (2021) by sanderjd on Saturday February 25, 2023 @08:34AM (#34936533)
Yeah I guess the next like 25% of the value I get from vim comes from "df(" and "ct)" type commands.

Also "dd" and "p" a lot to move lines around and "J" to consolidate them.

So maybe I do use a pretty large amount of functionality pretty frequently :)

I've been thinking maybe that other comment nailed it and most of us who downplay how useful it is to really learn vim have just already done that and forgotten that it was really useful.