Show HN: I wrote an entire Vim manual over 4 years themouseless.dev · 12 points ...

@best

Show HN: I wrote an entire Vim manual over 4 years themouseless.dev · 12 points · 2 comments · HN thread

TL;DR Matthieu Cneude announces Learning to Play Vim, a book he wrote over more than four years (about 1244 hours) covering Vim and Neovim step by step, with 21 chapters and 170 exercises with solutions. A free sample PDF with the table of contents and first three chapters is available, and a print version is promised in a couple of weeks.

  • The book has 21 chapters organized into ranks, plus appendices, and 170 exercises with solutions.
  • It targets Vim and Neovim in a terminal shell only; GUI Vim and Neovim-specific features like treesitter or LSP are excluded.
  • Configuration examples are given in both Vimscript and Lua for Neovim users.
  • The author states the book was written without LLMs.
  • The FAQ says it is not for readers who want every detail (the built-in help is better) or who want IDE features via plugins.
  • The sample PDF covers the basics: modes, motions, operators, text-objects, and first configuration.

Links in the post

Discussion The thread is very small, with only two top-level comments, and it is positive about Vim generally. One commenter, a long-time Vim user, says the book is no longer needed for them but sees it as a motivation for newcomers, and pivots to how LLM tools like Copilot make it easy to write custom Vim functions. The other comment is a short anecdote about running Vim everywhere, including inside a file archiver where it froze the XFCE desktop.

  • Vim is worth learning and enjoyable to use (some): Commenters praise Vim as fun and transferable, and say they use it for everything. One reports using it so widely that it even ran inside an archive manager.
  • LLMs make customizing Vim much easier (a few): A long-time user says Copilot can write small Vimscript functions and key bindings on request, citing a git-blame-style mapping as an example. This is a point about tooling rather than the book itself.
  • The book is less needed by experienced users (a few): A commenter with 20+ years of Vim experience says they no longer need such a book, though they see it as useful motivation for beginners.

#vim #neovim #books #texteditors #learning