Vim Book
A short, practical book for people who’ve never touched Vim and want to actually get comfortable with it.
- Before You Start : what modal editing even is
- Modes : Normal, Insert, Visual, Command-line
- Moving Around : getting anywhere without arrow keys
- Editing Basics : insert, delete, copy, paste, undo
- Search and Replace : finding and changing text fast
- Visual Mode : selecting text on purpose
- Registers and Clipboard : copy-paste, properly
- Files and Buffers : working with more than one file
- Configuring Vim
: your
.vimrc, a few good defaults - Plugins 101 : installing your first few plugins
- Building a Habit : a two-week practice plan
- Appendix: Cheat Sheet : everything on one page
Who this is for
Anyone who’s opened Vim by accident, typed a few letters, watched garbage fill the screen, and closed the terminal because they couldn’t figure out how to quit. No prior knowledge assumed. By the end you’ll be able to open a file, move around, edit it, save it, and quit on purpose.
What you need
- Vim installed (
vim --versionto check;brew install vimorapt install vimif not). - A terminal you’re already somewhat comfortable in.
- A weekend of spare time, in short sessions.
Neovim works fine too. Where it differs in a way that matters to a beginner, you’ll see a “Neovim note.”
How to use it
Read a chapter, then do the exercises before moving on. Vim is a physical skill, not just a mental one, so practice each thing in a scratch file before trusting yourself to do it for real.
Author
By Dariush Abbasi .