Y
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
cka
481 days ago
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".
link
theonething
481 days ago
hmm.. I've always used 'ciw'. What's the difference with 'caw'?
link
xigoi
481 days ago
ciw only deletes the letters, whereas caw also deletes one surrounding space. It’s more useful for other operations such as copying (yaw).
link