Training plan › Editing
Change and repeat
r, cw, cc, C, ~, J and the dot command.
c (change) is like d but leaves you in Insert: cw changes a word, cc the whole line, C to the end. Other quick changes: r replaces one character, ~ toggles case and J joins lines. And the gem: . repeats the last change. Learn to think in repeatable changes and you will fly.
7 steps · 6 min · 80 XP
- Replace one character: r
- Change a word: cw
- Change the line: cc
- Change to the end: C
- Toggle case: ~
- Join lines: J
- Repeat: .