Delete the three CUT lines: j onto the first one, V for line-wise visual, jj to stretch the selection, then d.
KEEP the opening line CUT this whole stanza CUT this line as well CUT this final offender KEEP the closing line
Canonical solution: j V jj d · target: 4 keystrokes — the fewest that solve it (every keypress counts).
V selects whole lines no matter where the cursor sits. Target counts j 3dd (4 keys); your V jj d route teaches line-wise selection even if it's one key over.
| Keys | What it does |
|---|---|
| Vjj | select three lines |
| V} | select to the end of the paragraph |
| VG | select to the end of the file |
Reading about keystrokes doesn't build keystrokes. Try this in a real vim buffer right now — the “Line-wise vision” mission takes about a minute.
Sign in free to practice →