Hacker News new | ask | show | jobs
by bobbyi_settv 1932 days ago
The non-barbarian way to avoid counting characters when there's no convenient motion is visual mode. Hit v, then hit l until you've highlighted the part you want to change, then hit c to start changing it.
1 comments

Oh I never thought about that either. Thank you.
I rarely actually do it because f and t motions, possibly with a number, can usually handle these cases. For example, c3tA to change up to but not including the third capital A after the current position
If it's more than one 'A' I'd use visual mode. I'm always impressed people can accurately count up to like three ;)