r/commandline • u/phantaso0s • 22h ago
Guide It took me 5 years to write a Vim manual
I'm happy to announce the release of my new book, Learning to Play Vim! It's a book about using Vim in the terminal, so I thought it could interest some folks around here.
When I started using Vim more than a decade ago, I wished there was a manual out there teaching how to use this fantastic editor step by step, beginning with the foundations up to more advanced features. Of course at the time I did the vimtutor, but it was too dense for me to remember much from it. I also read the entire Vim manual (:help manual), but I didn't like it: it was too detailed in places (for example 02.8 Finding help losts me for weeks), and not enough for other features.
So I decided to write my own Vim manual. It took me 5 years and 2987 focused pomodoros (1244 hours) of work to finally get it done!
The result:
- 21 chapters showing the most important Vim features step by step.
- 170 exercises with solutions.
- Many real-life examples to show how Vim can be used and configured for your own needs.
- The related Vim's help pages to dig further into each feature.
Most config are both written in Vimscript and Lua for Neovim users. This book explores the common features between Vim and Neovim, so don't expect anything about Neovim-specific features (like treesitter or LSP for example).
Some links:
- A sample of the book with the entire table of contents and the first three chapters (the first 74 pages plus the preface).
- The landing page if you want more information.
I like writing as it turns out; so no LLM involved to take away the fun.
I'm happy to answer questions or take feedback (positive or negative).