Skip to content
Vim Learn
Learn/

Change Words

14 / 51

Basic Operators

Change Words

Delete a word range and enter Insert mode with c.

Change is one composed operation, not delete followed by a separate insertion command. Escape returns to Normal mode when the replacement is complete.

Use cw, and ce in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.

Keys in this lesson

cw
Change from the cursor to the end of the word
ce
Change to the end of the current word
All 91 keys →

Practice against the clock.

The challenge proves completion once. Practice is a timed run of 15 goals — beat par, then beat your own best time. Every completed goal saves locally.

cwactiveEsc

Change the current word to “active”.