Learn Practice Daily golf Reference
Guides · Learning Vim

The best way to learn Vim in 2026

Start with vimtutor (free, built into Vim, about 30 minutes), then use Vim for one small real task every day. Once the basics stop feeling foreign, learn the dot command and text objects, which is where Vim gets fast, with an interactive course or a book. Games and puzzles are good for practice on top, not as the whole plan.

Ways to learn Vim, by what each is best for (prices as of November 2026)
OptionFormatPriceBest for
vimtutor Text tutorial you work through in real Vim (:Tutor in Neovim) Free, built in Your first 30 minutes
VimNinja Interactive course in the browser: 82 lessons in 14 tracks, drills, daily Vim golf First 13 lessons free, no sign-up; Pro $49 one-time A structured course, from the basics to macros
vim-hero Interactive lessons in the browser (50+), generated challenges First 12 lessons free, no account; full access $20 A shorter interactive course
OpenVim One guided tutorial plus a sandbox, in the browser Free A quick taste with nothing to install
Vim Adventures Browser game, 13 levels Opening levels free; $35, or $40 with challenges, for 6 months Learning motions through play
VIM GYM Online races of Vim motions, solo or against others Free Speed practice once you know the keys
VimGenius Timed flashcard game in the browser Free, no sign-up Drilling recall of commands
Practical Vim (Drew Neil) Book, 120+ tips, 2nd edition (2015) Ebook $26.95; paperback see site Depth: why Vim works the way it does
Learn Vim the Smart Way (Igor Irianto) Free online book on GitHub, 29 chapters Free; paid ebook edition see site Free depth, including Vimscript
Vim help (:help user-manual) The manual built into Vim Free, built in Looking things up for the rest of your life

How to choose

No single option is best at everything, so the table ranks them by what each does best rather than by an overall score. The questions that decide it:

  • Have you opened Vim before? If not, do vimtutor first, whatever else you choose. It is free, it runs in the real editor, and it takes half an hour.
  • Do you want structure or reference? Courses and games give you an order to learn things in and tell you when you got it right. Books and the manual explain more but leave the practice to you.
  • How much do you want to spend? You can learn Vim completely for free with vimtutor, the built-in help and Learn Vim the Smart Way. The paid options sell structure, feedback and convenience, not secret knowledge.
  • Where will you use it? The keys are the same in Vim, Neovim, VS Code, JetBrains IDEs and Zed, so any of these carries over.

Each option: strengths and limits

  • vimtutor. Strengths: free, already installed, and you practise in real Vim. Limits: it covers the basics only (no dot command, no macros, little on text objects), and Vim's version never tells you whether an exercise is right. See the vimtutor guide.
  • VimNinja. Strengths: an interactive course in the browser on its own Vim engine, checked against Neovim; 82 lessons in 14 tracks go from modes to the dot command, text objects, registers, macros and Ex commands; practice drills, a searchable cheat sheet and a daily Vim golf puzzle on top. The first 13 lessons (Foundations and The Vim Way) are free without sign-up. Limits: it needs a physical keyboard, it is a simulation rather than Vim itself, and the remaining lessons need Pro, a one-time $49.
  • vim-hero. Strengths: interactive lessons inside an editor in the browser, challenges generated so you can repeat them until they stick, and the first 12 lessons free without an account. Limits: its listed topics run from motions to operators, text objects and visual mode, so it is a shorter course; full access is $20.
  • OpenVim. Strengths: free, instant, with an on-screen keyboard that shows which key to press. Limits: one short tutorial, so it is a first look rather than a course.
  • Vim Adventures. Strengths: a real game with a story; it teaches more than 60 commands and motions across 13 levels, and the challenges tier adds timed practice and a macros level. Limits: it is paid after the opening levels, the licence lasts 6 months rather than for good, and it needs a physical keyboard.
  • VIM GYM and VimGenius. Strengths: both free and good for speed and recall. Limits: they drill what you already know rather than teaching it from scratch.
  • Practical Vim. Strengths: a widely recommended book, built around more than 120 tips on editing with repeatable keystrokes, macros, search and substitute, with no plugins required. Limits: it is a book, so the practice is up to you, and it was last updated in 2015, for Vim 8.
  • Learn Vim the Smart Way. Strengths: free (licensed CC BY-NC-SA), thorough, and it goes on into configuration and Vimscript. Limits: like any book, reading about ciw is not the same as doing it.
  • Vim help. Strengths: complete, accurate and always there; :help user-manual is a readable tutorial in its own right. Limits: dense, and it assumes you know what to look for.

A plan that works

  • Day one: vimtutor. Run vimtutor (or :Tutor in Neovim) and do every exercise. Run it again two days later.
  • Weeks one and two: one real task a day. Edit a commit message, a config file or your notes in Vim, even when it is slower. Keep the cheat sheet open and look things up instead of reaching for the mouse.
  • Week two or three: the dot command. Learn to make a change once and repeat it with .: cw, then n . n .. This is the single habit that separates people who use Vim from people who are fast in it.
  • Then text objects. ciw, ci", da(, dap: edit things by what they are, not by counting characters.
  • Then registers, macros and search motions, once the above are automatic.
  • Then a book. "Practical Vim" or "Learn Vim the Smart Way" makes much more sense once you have a few weeks of real use behind you.

A course (VimNinja or vim-hero) fits anywhere in steps 2 to 5: it gives you an order and checks your work, which is what self-study lacks. A few minutes of practice drills or a golf hole a day keeps what you learned from fading.

Try it here

Day one, right here

The first skills vimtutor teaches, on a real Vim engine. Fix the note: delete the extra letter with x, insert a missing one with i, and add to the end of a line with A. After typing, press Esc to get back to Normal mode.

Stuck? Show the keysTo reach a letter fast, f and the letter jumps to it: fi lands on the first i.
1 of 3miilk has one i too many: put the cursor on it and press x
1Buy miilk and eggs
1Call the plumbr
NORMALLoading the editor…1/30.0s1:1

This editor needs a keyboard. Read on, and play it at your computer.

Try it here

Where Vim gets fast: change once, repeat with a dot

Step 3 in miniature. Change the first var to const with cw, then go to the start of the next line and press .: Vim repeats the whole change. Three edits, one of them typed.

1 of 3Change var to const: cw, type const, Esc
1var name = 'Ada';
1var year = 1815;
2var field = 'maths';
NORMALLoading the editor…1/30.0s1:1

This editor needs a keyboard. Read on, and play it at your computer.

Check yourself

Text objects: name the thing, not the characters

1title = "The best way to learn Vim"
NORMAL
Keys pressed: ci"Vim␣gamesEsc

The cursor is on the space after way, in the middle of the string. You press ci", type Vim games and press Esc. What does the line say now?

Pick an answer (or press its number), then watch the engine prove it.

The mistakes that make people quit

  • Switching everything at once, on a deadline. Being slow for a week is normal. Being slow during a release is how people give up. Start with low-stakes text.
  • Staying in Insert mode. If you type, then arrow around, you are using Vim as a worse Notepad. Press Esc when you stop typing; Normal mode is home.
  • Counting characters. Pressing l eleven times works but feels awful. Word motions (w, b, e) and f / t get you there in two keys.
  • Copying someone's 500-line config on day one. You inherit plugins and mappings you don't understand, and then nothing behaves like the tutorials. Start with no config, or a few lines you wrote yourself.
  • Memorising a cheat sheet. Learn three commands, use them for a week, then add three more. A command you use daily sticks; a list you read once doesn't.
  • Not learning to leave. Learn :q!, :wq and Esc in the first five minutes. Here is how to exit Vim if you are stuck right now.

Free or paid?

You can learn all of Vim without paying anything: vimtutor, the built-in manual, Learn Vim the Smart Way, OpenVim, VIM GYM and VimGenius are free. What money buys is structure and feedback: a course that decides the order for you and tells you when an edit is right, or a well-edited book. If you are disciplined about practising on real files, the free path works. If you have tried before and drifted off after a week, a course with graded exercises is usually worth more than another free resource.

Questions

How long does it take to learn Vim?
About 30 minutes to edit a file without getting stuck (that is vimtutor), and a few weeks of daily use before it is faster than what you had before. The fluency comes from use, not from finishing a course.
What is the best free way to learn Vim?
vimtutor first, then daily use with the built-in help (:help user-manual) and the free book Learn Vim the Smart Way. Add a free interactive tutorial or the first lessons of a course if you want your work checked.
Should I learn Vim or Neovim?
The editing is the same in both, so learn the keys in either. Neovim adds Lua configuration and a different plugin ecosystem; that choice can wait until you need a config.
Is Vim Adventures worth it?
It is a good way to make motions fun at the start. It costs $35, or $40 with challenges, for 6 months of access and covers 13 levels. It is a game first, so pair it with practice on real files.

Sources