Show HN: I wrote an entire Vim manual over 4 years

Hacker News Top Products

Summary

Author Matthieu Cneude presents 'Learning to Play Vim', a Vim manual written over four years with a step-by-step approach and 170 exercises to help developers become more productive by keeping their hands on the keyboard.

I&#x27;m glad to announce that I&#x27;m releasing my new book, Learning to Play Vim.<p>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&#x27;t like it: it was too detailed in places (for example `02.8 Finding help` completely lost me for a while), and other features didn&#x27;t get the treatment they deserved.<p>So I decided to write my own Vim manual. It took me more than 4 years and 2987 focused pomodoros (1244 hours) of work to finally get it done!<p>The result:<p>- 21 chapters showing the most important Vim features step by step.<p>- 170 exercises with solutions.<p>- Many real-life examples to show how Vim can be used and configured for your own needs.<p>- The related Vim&#x27;s help pages to dig further into each feature.<p>Most configs are both written in Vimscript and Lua for Neovim users. This book explores the common features between Vim and Neovim, so don&#x27;t expect anything about Neovim-specific features (like treesitter or LSP for example).<p>- The landing page: <a href="https:&#x2F;&#x2F;themouseless.dev&#x2F;vim&#x2F;" rel="nofollow">https:&#x2F;&#x2F;themouseless.dev&#x2F;vim&#x2F;</a><p>- A sample of the book with the entire table of contents and the first three chapters covering most of the basics: <a href="https:&#x2F;&#x2F;themouseless.dev&#x2F;content&#x2F;learning_to_play_vim_sample.pdf" rel="nofollow">https:&#x2F;&#x2F;themouseless.dev&#x2F;content&#x2F;learning_to_play_vim_sample...</a>.<p>I wrote this with my bare hands, no LLM involved to spoil the fun.
Original Article
View Cached Full Text

Cached at: 11/27/26, 01:00 AM

# Do You Write Code With Your Mouse? Source: [https://themouseless.dev/vim/](https://themouseless.dev/vim/) ## Have You Ever Played With Your Editor? Compose your own Vim symphony Vim was too complicated\. It wasn't worth the effort to learn it\. Or so I thought\. I tried anyway\. I could write and edit my content after a couple of hours\. Why everybody thought it was so hard? Even better: I was more productive, I could focus solely on what I was writing, and I had so much fun\! The fun never stopped\. Even after playing with Vim for almost a decade\. ## What Will This Book Bring You? A step\-by\-step approach to**learn easily without feeling overwhelmed\.** Practice makes perfect:**no less than 170 fun exercises**to build your muscle memory\. How to customize your editor for**your own specific needs\.** Keeping your hands on your keyboard will**save your cognitive energy**, and**improve your productivity\.** The print version will be available in a couple of weeks\. You can subscribe to the newsletter to get notified\. ![photo of the author of the book Matthieu Cneude](https://themouseless.dev/vim/images/index/matthieu.jpg) Hi\! I'm Matthieu\. Nice to see you here\! I've been coding as a hobby for 25 years, professionally for 15\+ years\. I've worked from small to big companies, mentoring and leading developer teams\. Teaching is very rewarding to me\. That's why I love writing for my blog,[The Valuable Dev\.](https://thevaluable.dev/) --- ## FAQ ### There are many resources about Vim out there: what's different with this one? - Each chapter builds on the previous one, to show you more advanced techniques as you progress\. - Practice makes perfect: each chapter comes with exercises to increase your skills, but also to dive deeper and uncover useful subtleties\. - The book tries to focus on real\-life, practical examples, inspired from my own \(and friend's\) use of Vim\. - The book is aimed to be as complete as possible, without going into useless, boring details\. - Even if you use Vim for a long time, I'm pretty sure you'll learn something in this book\. If not, ask for a refund\! - There's a rich annexe section, to serve as a reference when you're working with Vim\. - The book is designed to be fun to read \(we're here to play\!\) with a minimum of fluff\. I don't want to tell the story of my grandma for 392 pages\. ### What this book is NOT good for? This book is not for you if: - You're not ready to invest some time on the short term to be more effective on the long term\. - You want absolutely all details about everything\. Vim's internal help will do a better job than this book \(or any other\)\. - You want to learn the basics, but you're not interested to go further\. In that case, most free tutorials out there will be enough\. - You want to reproduce all the functionalities of your IDE without compromises\. Vim is powerful \(and can do much more than most people think\), but it's not your IDE\. - You're more interested in plugins than Vim's internal functionalities\. Learning to Play Vim is more about the latter\. ### Why should I use Vim? - Vim is a free, mature, and stable editor\. It has many useful functionalities you won't find anywhere else\. - Vim is lighter and faster than most IDEs\. It's not a problem to have multiple instances running in parallel, even on old computers\. - You can customize Vim according to your own needs, to focus on your code \(or your writing\)\. - Vim is fun to play with\! To me, it's like a game\. The goal: to use as less keystrokes as possible\. - You can configure IDE\-like features \(autocompletion, jump to definition, debugging\.\.\.\) for many programming languages\. No need to have multiple editors or IDEs anymore\! - Vim allows you to write and edit using only the keyboard, improving your efficiency\. - Switching between the keyboard and the mouse costs cognitive energy, and breaks your flow\. No need to use the mouse with Vim\. - There are countless plugins for Vim out there, enabling a more modern experience, similar to an IDE\. - You can use any shell command directly in Vim, expanding drastically its functionalities\. - Many command\-line tools use some Vim keystrokes\. It makes them easier to learn\. - Popular shells \(like Bash or Zsh\) have a "Vi" mode, allowing you to use some Vim keystrokes to edit your commands\. - Vim is sometimes the only option for editing files on remote server or docker containers\. ### Is it true that Vim has a steep learning curve? Despite its reputation, Vim is not hard to learn\. It works differently than most editor or IDE out there, that's why many people find it difficult\. If you accept that it requires some adaptation, you can learn the basics in a couple of hours\. Vim is a good example of a tool easy to learn but hard to master: you'll add new functionalities to your workflow overtime, improving your editing experience and your efficiency\. That's why this book takes a step\-by\-step approach\. ### Is this book about Vim, Neovim, or GVim? This book is exclusively about Vim and Neovim running in a \*nix shell \(Unix\-like shell like Zsh or Bash\)\. This book is not about Vim running in a GUI, like GVim for example\. ### Do you use LLMs \("AI"\) to write this book? No\.

Similar Articles

Show HN: I built a little browser game to practice Vim commands

Hacker News Top

Show HN: hjkl — a free browser game that teaches Vim commands through guided, prompted, and independent editing exercises in a real Vim editor. It covers motions, text objects, marks, registers, search, and file jumps with no account required.

Learn Vim motions with an ice-cream van

Hacker News Top

Vim Scoops is a free interactive web game that teaches Vim motions by having you drive an ice-cream van through a town, using keyboard commands to reach customers. It provides a fun, hands-on way to learn Vim's movement keys and editing commands.

Show HN: Lathe – Use LLMs to learn a new domain, not skip past it

Hacker News Top

Lathe is an open-source tool that generates hands-on, multi-part technical tutorials from any prompt using LLMs, aiming to teach users rather than just provide answers. It includes a local UI for working through tutorials and supports integration with Claude Code, Cursor, and Codex.