Text Objects · Review
Text Objects Mega Review
Choose among bracket, quote, word, and paragraph objects.
This mixed practice removes the command hint. Read the intended boundary, decide inner versus around, then compose the operator and object from memory.
Use di(, da(, ci{, ca[, di", da', ciw, daw, dip, and cip in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.
Keys in this lesson
- di(
- Delete inside the parentheses, keeping the pair
- da(
- Delete the parentheses and everything inside them
- ci{
- Change inside the braces, keeping the pair
- ca[
- Change the square brackets and everything inside them
- di"
- Delete inside the double quotes, keeping the marks
- da'
- Delete the single-quoted string, quote marks included
- ciw
- Change the word under the cursor from anywhere inside it
- daw
- Delete the word under the cursor and its trailing space
- dip
- Delete the paragraph, keeping the blank lines around it
- cip
- Change the paragraph, keeping the blank lines around it
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.