Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
theonething
1y ago
0 comments
Share
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.
0 comments
default
newest
oldest
cka
1y 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".
theonething
OP
1y ago
hmm.. I've always used 'ciw'. What's the difference with 'caw'?
xigoi
1y ago
ciw only deletes the letters, whereas caw also deletes one surrounding space. It’s more useful for other operations such as copying (yaw).
j
/
k
navigate · click thread line to collapse