vilearn – an interactive vi tutorial
vilearn is an interactive tutorial that teaches the vi text editor through hands-on exercises built from scratch, offering a practical way to learn vi commands and navigation.
Background
- **vi** (and its modern descendant **vim**) is a modal text editor built into nearly every Unix/Linux system. Unlike typical editors, vi has multiple modes (normal, insert, visual, command-line), which can be extremely confusing for beginners.
- **vilearn** is a small, open-source interactive tutorial that runs in the terminal and teaches the basic vi keybindings (movement, editing, saving/ quitting) by having the user practice them directly.
- The project is hosted on **SourceHut** (sr.ht), a minimal, command-line–friendly code-hosting platform popular among Unix purists and open-source developers who prefer lightweight tools over GitHub's ecosystem.
- This matters because vi is unavoidable for anyone working on servers or in DevOps, yet its learning curve is famously steep. A free, offline, distraction-free tutorial in the terminal itself fills a real gap for new users.