vim-be-good
vim-be-good is a nvim plugin designed to make you better at Vim Movements.
by ThePrimeagenLua
Commit activity
Last 12 weeks · 0 commits
Community health
1 of 6 standards met
Recent PRs & issues
Fixes several bugs that make the game break or misbehave in normal use. Each one reproduces on current (0ae3de1) and is gone with this branch; I checked them with headless Neovim scripts. Session lifecycle on the game window left the game running, and the countdown then moved the cursor in the user's own window. Closing the game window now ends the session, and the cursor is set on the game window explicitly instead of window . Running while a session was open orphaned the first session's windows and timers. The old session is now torn down first. called , which doesn't exist. The handler now returns once the buffer is closed. closure in used (the class table) instead of . Closing an already-closed window no longer errors, window size is clamped to at least 1, and the debug s on resize are removed. Round generation ci{: the insertion index could be 0, so the opening line was missing and the round couldn't be won (about 1 in 15 rounds). relative: the cursor could start on the line. whackamole**: the target could be punctuation or a digit, where changes nothing, giving an instant win. Snake The end-of-game callback ran twice per death. Wrapping left or up put the head outside the grid, and food used 1-based coordinates on a 0-based grid. Two key presses within one tick (for example up then left while moving right) could reverse the snake into itself. on the snake board counted as a lost round and opened the next board, so escaping took one per round (10 by default, 100,000 on noob). Closing the board now ends the session. Snake windows and timer survived when the session ended; rounds can now define an optional that the runner calls. Related open PRs: #153 (ci{) and #128 (relative) cover two of these individually. 🤖 Generated with Claude Code
Repository: ThePrimeagen/vim-be-good. Description: vim-be-good is a nvim plugin designed to make you better at Vim Movements. Stars: 4581, Forks: 187. Primary language: Lua. Languages: Lua (92.6%), TypeScript (6.7%), Vim Script (0.8%). Open PRs: 12, open issues: 42. Last activity: 1y ago. Community health: 28%. Top contributors: ThePrimeagen, d4rk, FL3SH, brandoncc, antonk52, bryall, magtastic, gpu004, victorgabr, polarmutex and others.