Change, delete, or yank the current word cleanly.

Section: Text objects

Operate on a word

vim
vim
ciw  diw  yiw
Explanation

Text objects let you edit intentfully rather than character-by-character.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Text objects
Operate inside quotes
Target a quoted string without touching delimiters.
OpenIn sheetvimsame section
Operate inside delimiters
Edit text inside parentheses, braces, or brackets.
OpenIn sheetvimsame section
Operate on a paragraph
Change, delete, or yank paragraph blocks.
OpenIn sheetvimsame section
Delete with a motion
Delete words, lines, or ranges.
OpenIn sheetvim1 tag match
Prefix commands with counts
Repeat a motion or edit multiple times.
OpenIn sheetvim1 tag match
Change with a motion
Delete target text and enter insert mode.
OpenIn sheetvim1 tag match