3 ms·
It does something similar to c2w if your cursor is at the beginning of a word. But if your cursor is already in the middle of a word c2aw may be faster / more i
by jonchang 10y ago
It does something similar to c2w if your cursor is at the beginning of a word. But if your cursor is already in the middle of a word c2aw may be faster / more intuitive than doing bc2w.
"a" can mean "append" but in this context (as the argument to a command) it means to change "a word". See :h aw for details.
- JetSpiegel 10y agoIt's better to think of it as "all word", as opposed to "iw" as "inner word". It's easier to think about with "it" for "inner XML tag", apply stuff only between the opening and closing tags, of "at" for the whole thing, tags included. So "dat" would delete the tag and its content, while "cit" would change the content of the tag.