News for hackers. Stuff that matters.
Re:Vim GIFs by jonchang on Tuesday July 19, 2016 @08:42PM (#12126063)
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.

Re:Vim GIFs by JetSpiegel on Wednesday July 20, 2016 @03:06AM (#12127336)
It'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.