Practical Vim: Edit Text at the Speed of Thought
Book Information
Title |
Practical Vim: Edit Text at the Speed of Thought |
Author |
Drew Neil |
Edition |
2nd Edition (2015) |
Publisher |
Pragmatic Programmers |
Structure |
6 Parts, 21 Chapters, 121 Tips |
Purchase |
Progress Tracker
Part I: Modes
| Ch | Title | Status | Date |
|---|---|---|---|
1 |
[ ] Not Started |
||
2 |
[ ] Not Started |
||
3 |
[ ] Not Started |
||
4 |
[ ] Not Started |
||
5 |
[ ] Not Started |
Part II: Files
| Ch | Title | Status | Date |
|---|---|---|---|
6 |
[ ] Not Started |
||
7 |
[ ] Not Started |
Part III: Getting Around Faster
| Ch | Title | Status | Date |
|---|---|---|---|
8 |
[ ] Not Started |
||
9 |
[ ] Not Started |
||
10 |
[ ] Not Started |
||
11 |
[ ] Not Started |
Part IV: Patterns
| Ch | Title | Status | Date |
|---|---|---|---|
12 |
[ ] Not Started |
||
13 |
[ ] Not Started |
||
14 |
[ ] Not Started |
||
15 |
[ ] Not Started |
Part V: Tools
| Ch | Title | Status | Date |
|---|---|---|---|
16 |
[ ] Not Started |
||
17 |
[ ] Not Started |
||
18 |
[ ] Not Started |
||
19 |
[ ] Not Started |
||
20 |
[ ] Not Started |
||
21 |
[ ] Not Started |
Learning Goals
After completing this book:
-
Master the dot command and repeatable changes
-
Think in terms of operators + motions
-
Use registers effectively (named, numbered, expression)
-
Navigate with precision (motions, jumps, marks)
-
Search and substitute with regex confidence
-
Record and edit macros for repetitive tasks
-
Use quickfix for project-wide operations
The Vim Way (Core Philosophy)
The book’s central insight:
Don’t repeat yourself. Act, Repeat, Reverse.
Key principles to internalize:
-
The Dot Command -
.repeats the last change -
Operators + Motions - Composable editing language
-
Repeatability - Structure edits to be repeatable
-
One Keystroke, One Edit - Minimize keystrokes per change
Quick Reference (Build As You Learn)
Add commands here as you master them:
" Change word and repeat
cw<new-word><Esc>
j.j.j. " repeat on following lines
" Delete to end of line, repeatable
D
" Add at end of line, repeatable
A;<Esc>
j.j.j.
" (Add as you learn from the book)
Related Resources
-
Neovim Training - Motion curriculum
-
Read the Manual - :help reference
-
Modern Vim - Vim 8/Neovim features
-
Vimcasts - Drew Neil’s video tutorials