To replace a word, bring the cursor to the beginning of the word, then issue cw From that point on, the current word will be replaced with the input, until the ESC (escape) character is entered.