问题
Is there a quick way to repeat a spelling correction?
For example, change every occurrence of teh
to the
after using :set spell
, z=
to correct the first occurrence?
回答1:
After making the first correction with z=, e.g. teh to the, use :spellrepall
, or shorter: :spellr
.
来源:https://stackoverflow.com/questions/12047846/correct-all-occurrences-of-misspelled-word