Vim is my absolute favorite text editor. I recommend it to anyone who loves using Unix tools. It’s a powerful weapon for editing scripts but it isn’t for everyone. The main issue that most people have with Vim is that it has a steep learning curve. Performing even a small task like typing a single character is nearly impossible for a beginner to figure out. It’s a tool that forces the user to read the manual.
There’s absolutely no substitute for reading through Vim’s documentation and built-in tutorial but for those that love RPG styled video games, Vim Adventures is an excellent alternative.
Vim Adventures is an in-browser puzzle game that plays a lot like a tile based RPG. In the game you play as the “shadowy cursor” prophecized to save the world from doom. This should sound very familiar if you’ve played a few video games with RPG elements but this time your skills aren’t gained through experience points from battle. As the game progresses, your character collects shortcut keys obtained through solving puzzles. Every puzzle challenges the player to learn how to use Vim in the most effecient manner possible.
The challenges are tough and you’ll soon find yourself Googling for help along the way. I advice against spoiling the game like that. If you truly want to learn Vim, try to stick it out without looking up the solutions. At least make sure to talk to all the NPCs first if you find yourself stuck. Don’t give up. The challenges are designed to illustrate both the capablities and limitations of each shortcut command through every attempt made to solve the puzzle. You might spend hours on a single puzzle but by the time you’re through with it, you’ll be satisfied knowing that you’ve learned a new trick that can be brought into your text editing workflow.
So far I’ve gotten up to Level 7 and at this point I feel extremely comfortable maneuvering with Vim. Playing the game really helps to build the necessary muscle memory needed to work without having to looking up the shortcuts for every command. I’m sure by the end of the game I’ll have true mastery over Vim but for now I’ll keep my Vim cheat sheet close by.
Vim Adventures is free to try out but expect to pay at least 25 dollars for the full game. For the price, the game is totally worth it. Very few video games teach anything at all, let alone something as difficult as Vim. Don’t miss out.