On Sunday 21 May 2006 15:38, Steve Holdoway wrote:
> ... it'll replace every occurrence of the search string with the replaced
> string, which may be more than you want. For example, %s/Cant/Can/g will
> also convert Canterbury to Canerbury.
>
> If you want to check each one, use /search to find the first occurrence of
> the offending word, then cwreplace<ESC> to replace it with your new word.
> From that point on, n will find the next occurrence, and . will repeat the
> last action ( ie change word ).

True. You could also use the c modifier to confirm every match.

hads

-- 
You cannot use your friends and have them too.

Reply via email to