Title here
Summary here
. repeats. repeats the last change — not the last motion, and not a whole command line. An edit is a change if it modified the buffer: x, dw, ciw, A;<Esc>, >>.
ciwname<Esc> " change a word
w. " next word, same change
w. " and againThe habit is to make each edit self-contained, so repeating it makes sense somewhere else:
ciw beats bcw — it works wherever the cursor sits in the wordA;<Esc> beats $a;<Esc> — the append-to-end is part of the changei(, i", ip) over counted motionsn then . is the classic loop: find the next occurrence, repeat the change. For a version that finds and changes in one key, see cgn and dot.