These little tutorials and games are great. I played VIM Adventures. However, one thing I really struggle with is learning when I can be doing something more efficiently. I rarely use markers, anything beyond default registers, commands, and so on. I'm giving Neovim a try for my systems course trying to get better but I do wish these sorts of games pushed me to get better at these more advanced usage tricks.
Oh man, I use markers all the time. ma y'a mark a spot, then yank or delete everything to that line. Way easier to do it accurately rather than 13yy or however many lines you're yanking.
VIM Master
21–30 of 123 posts
Re: VIM Master
#22To learn new vim motions. Have since gotten distracted by life, but need to actually finish it.
Re: VIM Master
#23Re: VIM Master
#24Very cool site! Working on my own similar project: https://vimgolf.ai To learn new vim motions. Have since gotten distracted by life, but need to actually finish it.
Re: VIM Master
#25Earlier quoted context omitted.
Oh man, I use markers all the time. ma y'a mark a spot, then yank or delete everything to that line. Way easier to do it accurately rather than 13yy or however many lines you're yanking.
You can use v then move to your start line and type y or d. This way you see the text marked before yanking or deleting. v is similar. And gv will reselect the marked area.
Re: VIM Master
#26These little tutorials and games are great. I played VIM Adventures. However, one thing I really struggle with is learning when I can be doing something more efficiently. I rarely use markers, anything beyond default registers, commands, and so on. I'm giving Neovim a try for my systems course trying to get better but I do wish these sorts of games pushed me to get better at these more advanced usage tricks.
Oh man, I use markers all the time. ma y'a mark a spot, then yank or delete everything to that line. Way easier to do it accurately rather than 13yy or however many lines you're yanking.
Re: VIM Master
#27I'm surprised they don't even mention vimtutor. It's preinstalled on every machine with vim (to the best of my knowledge). This seems like a cool project, but might as well give a shout-out to the original concept.
Re: VIM Master
#28Earlier quoted context omitted.
I think this one asks you to pay for it after a bit. Not that there's anything wrong with that. Just felt bad about getting a little bit in, and then being hit with a decent pay wall.
I paid for it, was worth it for me. Reason: I did vimtutor 4 times and was learning but found it super painful/boring, but really wanted to learn vim keybindings. Vim adventures made learning keybindings and muscle memory just tolerable that I could do 1h in the evening even after a long/busy/tedious day. I probably would have persisted learning vim keybindings without it, but it definitely made doing so less painful…
Re: VIM Master
#29Kinda like how it feels good to play an instrument when you’re good at it, or something.
I might give it a try!
Re: VIM Master
#30Edit: Went down a rabbit hole and see pacvim (https://github.com/jmoon018/PacVim) is in the official Debian repo as an option as well.