Hacker News new | ask | show | jobs
by theonething 481 days ago
Nope, you go to the word, do 'cw' (change word). That deletes the word under your cursor and automatically puts you in insert mode. Then you write your new word. I love it.
1 comments

Or 'caw' if you want to change the whole word, even if cursor is in the middle somewhere. I read it as "change a word".
hmm.. I've always used 'ciw'. What's the difference with 'caw'?
ciw only deletes the letters, whereas caw also deletes one surrounding space. It’s more useful for other operations such as copying (yaw).