Let's say I'm calling a method on an object in my code like
if abc.xyz then foo
My cursor is on the 'c' in 'abc' and I want to change abc.xyz to something else. If I type ciw
I'll be replacing only 'abc'. What can I use instead of iw
so that it selects the entire 'abc.xyz'?
Use W
to separate words only with whitespace characters, it will select the whole string:
ciW
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With