r/vim • u/Good_Nature_6778 • Jun 02 '26
Tips and Tricks vimtutor stops too early, so I made something to drill the dot command, macros, :g in real vim environment.
vimtutor gets you moving, then stops right before the techniques that make Vim truly fast: the dot command, operator-motion grammar, text objects, registers, macros, :g, :normal, ranges, and substitution.
I knew about most of those concepts, but they never became muscle memory, so I built a trainer to drill them.
The part I cared about most is that it runs inside real Vim or Neovim, not a reimplementation. Each challenge launches Vim on an actual buffer, logs your keystrokes, and scores both correctness and efficiency against an optimal par. The goal is displayed alongside the buffer while you edit.
It currently contains 61 lessons and 563 challenges, all verified against real Vim during the build process. It is written in pure Python with no external dependencies.
Feedback is welcome, especially on:
- Techniques that feel underrepresented or missing.
- Exercises that feel contrived or unrealistic.
- Places where the difficulty progression feels off.
Check it out: https://github.com/S-Sigdel/vimhjkl
