c
The
Operator
The c command in Vim
Operator
change
Change operator — delete the text covered by the motion and enter insert mode. Double
cc changes the whole line.Examples
cw(change word)cc(change line)ci"(change inside quotes)c$ or C (change to end)
Related plugin
tpope/vim-surround — cs{old}{new} changes surrounding chars. e.g. cs"' changes " to '. || tpope/vim-commentary
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related operators