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. Practice is where you learn it, with the answer a click away; the Test is graded, unaided, and the only thing that marks this lesson complete.
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 to learn it. Test to prove it.
Practice keeps the answer a click away — endlessly in Free, or as a 15-goal run against par and your own best time in Timed. The Test gives you 12 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.