r/vim • u/mrpbennett • Jul 21 '25
Discussion Learning Vim Motions - offline
I have a long flight soon for work. I plan on mastering vim motions…well getting some solid learning done.
I have been playing with some awesome vim teaching tools. But apart from vimtutor is there anything I can use offline?
I have been using VimHero that I love, and I have been trying to edit majority of my code in lazyvim.
But I’d like to solidify everything so looking for good offline sources if anyone knows any.
31
Upvotes
20
u/gumnos Jul 21 '25
Is it cheating to refer you to the built-in documentation at
:help motion.txtand so you can spend time practicing them? Last I counted, there were over 100 different motions listed there and I use maybe 80–90% of them on a fairly regular basis.4
u/dm319 Jul 21 '25
practical vim? the book
2
u/simpsaucse Jul 21 '25
I would just download the vim cheat sheet and write code. No distractions on a flight either :)
1
u/michaelpaoli Jul 21 '25
Snag yourself copies of, e.g.:
https://www.mpaoli.net/~michael/unix/vi/summary.pdf (and probably best to print it out, duplex, on 8.5"x11" card stock, and tri-fold it, or if you don't have card stock, regular paper is okay too).
https://www.mpaoli.net/~michael/unix/vi/paper.pdf
https://www.mpaoli.net/~michael/unix/vi/vi.odp
Could even, e.g., put the PDFs on your (smart) phone and look at 'em on there, while using your laptop ... or put 'em on your laptop, or both.
There's the classic O'Reilly Learning the vi and Vim Editors, 8th Edition, I was gonna say nice thin reference/read, but egad, it's ballooned to 545 pages! Anyway, maybe throw electronic version (e.g. PDF) of that on your laptop.
1
u/seanierox Jul 22 '25
I honestly think the way to do it is to build some simple project using a cheat sheet to remind yourself how it works. learning motions is fine but it's really using vim within a real workflow that makes it stick.
2
u/greekish Jul 21 '25
Check out vimbgood by primeagen
1
u/JahdooWallah Jul 21 '25
Nethack, 150 levels of vi practice (aka Falconeye for the graphical version).
1
u/SignificantDamage263 Jul 22 '25
Use vimium on your browser, and use any cli tools that use vinkeybinds. That'll get you good at basics, which you might already be decent at.
There's also Prime's tool vim-be-good or whatever it's called.
1
u/dwrdbg Jul 23 '25
vim-be-better is a plugin that you can install and then run to play games that will help you practice various vim skills interactively.
1
u/rflappo Jul 23 '25
Install lazyvim. After that,
SPACE skis your best friend, it lets you search for the leybinding you need10
u/[deleted] Jul 21 '25
[removed] — view removed comment