Fun! There are some combinations that don't seem to work though, e.g. "dG" and "dgg" do nothing.
Learn Vim motions with an ice-cream van
41–50 of 53 posts
Re: Learn Vim motions with an ice-cream van
#42Re: Learn Vim motions with an ice-cream van
#43Earlier quoted context omitted.
jkl; are (on QWERTY keyboards). hjkl are not.
Idk, I get what you mean but I'd personally rather not use my pinky finger for navigation, sounds really uncomfortable.
jjjllllljjh is just as bad as . There are much better ways to move around and touch-typists and non-touch-typists would be better off learning them instead of obsessing over hjkl: :help motion.txt.
Re: Learn Vim motions with an ice-cream van
#44Yes, hjkl navigation is certainly one of the things that should learn about a vi clone. But are novices well served, in the 2020s, by that being the primary thing that they learn before anything else? This is not a criticism of this WWW site specifically. The VIM doco has the same priorities, teaching hjkl navigation before arrow keys. (So do nvi2 and NeoVIM.) The problem is that the received wisdom, that arrow keys…
Re: Learn Vim motions with an ice-cream van
#45Re: Learn Vim motions with an ice-cream van
#46Re: Learn Vim motions with an ice-cream van
#47Re: Learn Vim motions with an ice-cream van
#48Neat, but the (presumably AI-generated) provenance of this means it has regrettable gaps and errors: On "There and back", it says par is 6 – it's solvable in 4. On "Rush hour", it describes an invalid motion 'r': "type a number first to repeat a command, e.g. 3j or 4r" It isn't clear why certain motions are being introduced where they aren't relevant, and therefore aren't going to be immediately practised at point of…
Thanks for the feedback, the par is set based on the level, not the absolute best that can be achieved. I added 4r specifically as an example to get across being able to change multiple characters such as XXXX to YYYY. Though I’m aware some keyboards might not be fully compatible yet so I’ll work on adding wider support. EDIT: You’re right, I loosely included r but it’s not technically “motion”
Re: Learn Vim motions with an ice-cream van
#49Re: Learn Vim motions with an ice-cream van
#50Yes, hjkl navigation is certainly one of the things that should learn about a vi clone. But are novices well served, in the 2020s, by that being the primary thing that they learn before anything else? This is not a criticism of this WWW site specifically. The VIM doco has the same priorities, teaching hjkl navigation before arrow keys. (So do nvi2 and NeoVIM.) The problem is that the received wisdom, that arrow keys…
I think the reason to use and teach those keys first, is that they can be used in all the motions aswell. The arrow keys can´t and thus do not really make much sense in a vi context.