someone should make guitar hero with vim's keybindings.
maybe you need to write the tabs quick enough to play it live including the ascii art strings -_-. multi line editing, tgted char insertions on different lines and intervals... all you need to be a vimgod.
meanwhile there's also text editors that dont make you doubt yourself and fall on your face each time someone walks by ur workstation and you want to show them some kind of space-invaders-word-editing-trick which always fails because your fingers arent rubber bands afterall.
I'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.
I actually opened this hoping it’ an alternative to vimtutor but for experienced/intermediate users.
Is there such a thing? I feel like someone has probably made something this - something that progressively works through soem of the more complex features of vim.
I’ve found soem absolute gems mostly through online blogs and reading through vim docs
If anyone has any repos that’d recommended I’d be happy to try!
vimtutor is to Babbel what this is to duolingo. Many will prefer learning through a game but some want a more textbook approach. Honestly, anything to get more people on vim and emacs is a good thing in my book!
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.
This was quite weird and honestly a bit infuriating. Just felt like it was encouraging really bad habits in vim.
You start out and you only have `h,j,k,l` available to you (despite what the help says). So just end up holding the keys and maybe that's fine but then that first level is WAY too big.
Like I got to the second area and it starts talking about word motions and then you try `w,b,e` and it then tells you those keys aren't available. That's not even the first character you talk to that is mentioning movement keys while those keys remain unavailable to you!
I rage quit after unlocking `w,b,e` and moving back to that chest at the beginning only to realize I had forgotten there was a space between the word and punctuation meaning I'd need to unlock something like `B`, `0`, `^`, or even the ability to use numbers which a character had already mentioned to me...
[1/10] do not recommend. I believe most people will be able to read half of `vimtutor` before you will unlock the `b` key in this game as well as have a much better understanding of how vim actually works.
I highly suggest vimtutor to people because what a lot of people miss while learning vim is that there isn't actually much to remember. There's sets of motion keys and sets of command keys. The beauty of vim is that the commands are putting these together. For example, say you learn `b,w,e` and then you learn `d`. You now automatically know `db, dw, de, dd`. You didn't learn 4 new things, you learned 1 new thing. Similarly learning `B,W,E` isn't learning 3 new things, you learn one new thing: capitalized motion keys work on WORDS instead of words (aka: big movements)
The required login/sign-up, privacy policy and lack of apparent open-sourcing seems antithetical for the average Linux user. You're going after a niche of a niche of a niche with this one, good luck lol.
I generally recommend to exit either via :xa (save all & exit) or :qa! (discard all and exit), bound to ZZ or ZA respectively. If you exit via :q or :wq, it just closes the current buffer, and moves to the next one. E.g. if you have a neotree open along with the editor, you type :wq, it closes the editor buffer and moves you into the file tree, which can be very confusing for beginners.
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.
> learning when I can be doing something more efficiently
hardtime.nvim[1] (or vim-hardtime[2] if you're old-school) do exactly this but within your editing session. There's an associated blog post[3] explaining the rationale behind some of the workflow choices and you can of course bring your own.
I created a ViM Message of the Day script that I added to my shell to give me a prompt every time I opened a new shell (Which I do constantly in ViM and Tmux since I've created leader key shortcuts in both)
You might have to futz with it a bit, and I think I've added some other stuff in there since then (love the toggle-light-mode script which toggles several things either to Dark or Light mode at once so I can switch environments easily, however have never gotten it to fully automate, so I have to manually type goDark or goLight depending. Humbug!)
Anyways, it's great cause it gives you one tip or command at a time, and so you can sort of slowly grow without really having to dedicate much time to it.
When I was learning Linux back in the day, one of the most beneficial thing I did was to go though the VIM tutorial and learn to use it properly. I'm no master at it but oh boy that time spent has paid dividends down the line.
The Neovim Tutor is more comprehensive than the old school Vim Tutor. I recommend that people who want to get fast with the key commands go through it repeatedly until most of it becomes part of their muscle memory. When this happens, the learning curve starts looking a lot more approachable and less daunting.
Even though I don’t have much use for vim, and I have opinions on tools like this going beyond a certain level of efficiency because IMO the true bottleneck is usually decision/design based not implementation based, this just kinda looks fun and the appeal of vim as just a thing that feels cool to use when you have mastery of it sounds cool.
Kinda like how it feels good to play an instrument when you’re good at it, or something.
However, not everything can be well designed at the beginning. Skills of editing will affect efficiency, especially in a try-and-error loop of new ideas/approaches, where only a rough design exists.
Besides, some niche editing tasks (which may involve column editing, macro recording then batched execution, regex based operation, encoding transformation etc.) may otherwise require writing awk/sed or even perl/python scripts as subprojects to achieve, if one does not known the editor well.
[+] [-] sim7c00|7 months ago|reply
meanwhile there's also text editors that dont make you doubt yourself and fall on your face each time someone walks by ur workstation and you want to show them some kind of space-invaders-word-editing-trick which always fails because your fingers arent rubber bands afterall.
(sorry totally nano lover :p satire/jokes)
[+] [-] stared|7 months ago|reply
[+] [-] abnercoimbre|7 months ago|reply
[+] [-] cramsession|7 months ago|reply
[+] [-] absolute_unit22|7 months ago|reply
Is there such a thing? I feel like someone has probably made something this - something that progressively works through soem of the more complex features of vim.
I’ve found soem absolute gems mostly through online blogs and reading through vim docs
If anyone has any repos that’d recommended I’d be happy to try!
[+] [-] nunez|7 months ago|reply
[+] [-] 3836293648|7 months ago|reply
[+] [-] eej71|7 months ago|reply
https://vim-adventures.com/
[+] [-] ixwt|7 months ago|reply
[+] [-] godelski|7 months ago|reply
You start out and you only have `h,j,k,l` available to you (despite what the help says). So just end up holding the keys and maybe that's fine but then that first level is WAY too big.
Like I got to the second area and it starts talking about word motions and then you try `w,b,e` and it then tells you those keys aren't available. That's not even the first character you talk to that is mentioning movement keys while those keys remain unavailable to you!
I rage quit after unlocking `w,b,e` and moving back to that chest at the beginning only to realize I had forgotten there was a space between the word and punctuation meaning I'd need to unlock something like `B`, `0`, `^`, or even the ability to use numbers which a character had already mentioned to me...
[1/10] do not recommend. I believe most people will be able to read half of `vimtutor` before you will unlock the `b` key in this game as well as have a much better understanding of how vim actually works.
I highly suggest vimtutor to people because what a lot of people miss while learning vim is that there isn't actually much to remember. There's sets of motion keys and sets of command keys. The beauty of vim is that the commands are putting these together. For example, say you learn `b,w,e` and then you learn `d`. You now automatically know `db, dw, de, dd`. You didn't learn 4 new things, you learned 1 new thing. Similarly learning `B,W,E` isn't learning 3 new things, you learn one new thing: capitalized motion keys work on WORDS instead of words (aka: big movements)
[+] [-] pixelentry|7 months ago|reply
[+] [-] nickandbro|7 months ago|reply
https://vimgolf.ai
To learn new vim motions. Have since gotten distracted by life, but need to actually finish it.
[+] [-] _diyar|7 months ago|reply
[+] [-] mac-attack|7 months ago|reply
[+] [-] raldu|7 months ago|reply
http://vimcasts.org/episodes/
[+] [-] MrResearcher|7 months ago|reply
[+] [-] nurple|7 months ago|reply
[+] [-] prmoustache|7 months ago|reply
[+] [-] pwillia7|7 months ago|reply
:P
[+] [-] jrh3|7 months ago|reply
[+] [-] rodrigodlu|7 months ago|reply
[+] [-] benjaminclauss|7 months ago|reply
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.
[+] [-] j1mr10rd4n|7 months ago|reply
hardtime.nvim[1] (or vim-hardtime[2] if you're old-school) do exactly this but within your editing session. There's an associated blog post[3] explaining the rationale behind some of the workflow choices and you can of course bring your own.
[1]: https://github.com/m4xshen/hardtime.nvim
[2]: https://github.com/takac/vim-hardtime
[3]: https://m4xshen.dev/posts/vim-command-workflow
[+] [-] soperj|7 months ago|reply
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.
[+] [-] codyb|7 months ago|reply
https://github.com/cboppert/motd
You might have to futz with it a bit, and I think I've added some other stuff in there since then (love the toggle-light-mode script which toggles several things either to Dark or Light mode at once so I can switch environments easily, however have never gotten it to fully automate, so I have to manually type goDark or goLight depending. Humbug!)
Anyways, it's great cause it gives you one tip or command at a time, and so you can sort of slowly grow without really having to dedicate much time to it.
[+] [-] JackMorgan|7 months ago|reply
[+] [-] charlie-83|7 months ago|reply
[+] [-] ekusiadadus|7 months ago|reply
[+] [-] rochak|7 months ago|reply
[+] [-] vorgol|7 months ago|reply
[+] [-] wyclif|7 months ago|reply
[+] [-] landdate|7 months ago|reply
[+] [-] zvmaz|7 months ago|reply
[+] [-] qezz|7 months ago|reply
Hopefully it's easy to fix
[+] [-] jama211|7 months ago|reply
Kinda like how it feels good to play an instrument when you’re good at it, or something.
I might give it a try!
[+] [-] drwu|7 months ago|reply
However, not everything can be well designed at the beginning. Skills of editing will affect efficiency, especially in a try-and-error loop of new ideas/approaches, where only a rough design exists.
Besides, some niche editing tasks (which may involve column editing, macro recording then batched execution, regex based operation, encoding transformation etc.) may otherwise require writing awk/sed or even perl/python scripts as subprojects to achieve, if one does not known the editor well.
[+] [-] unknown|7 months ago|reply
[deleted]
[+] [-] johnhamlin|7 months ago|reply
[+] [-] mac-attack|7 months ago|reply
Edit: Went down a rabbit hole and see pacvim (https://github.com/jmoon018/PacVim) is in the official Debian repo as an option as well.
[+] [-] twile|7 months ago|reply
[+] [-] DavidCanHelp|7 months ago|reply
[+] [-] unknown|7 months ago|reply
[deleted]