cf" : change(c) forward(f) to double-quote(")
cf" : change(c) forward(f) to double-quote(")
Change inside double quotes.
Or cit, change inside html tag. (not sure if this is in vanilla vim but I think so)
Replace " with any of these (,'{,[,< for other powerful commands.
ct"
Changes Till "
I know it has zap-to-char but that works like cf" not ct". Of course that can be modified with a bit of elisp, but I wish it provided it out of the box.
Vim Quick reference: http://www.digilife.be/quickreferences/QRC/vi%20Quick%20Refe... [pdf]
ct"
c%
c/something
E.g:
- ci" (change inner double quote) will change (delete and put you in insert mode) the text between to double quotes.
- ca" (change _a_ double quote) will change the text and the surrounding double quotes.
There are text objects for quotes, brackets, sentences, blocks, etc. There are also plugins that create text objects such as arguments (to functions) in programming languages.