Basic Operators
Introduction to Operators
Compose an action with a motion to describe an edit.
Vim editing behaves like a language: an operator is the verb and a motion supplies its range. Learning a new motion improves every operator you already know.
Use d, c, and y in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.
Keys in this lesson
- d
- Delete operator, waiting for a motion or text object
- c
- Change operator, deleting a range then inserting
- y
- Yank (copy) operator, waiting for a motion or text object
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.