Text Objects · Brackets
Change Inside Brackets
Replace bracket contents without retyping delimiters.
ci preserves the surrounding syntax, removes the inner range, and enters Insert mode at the opening boundary.
Use ci(, ci[, and ci{ in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.
Keys in this lesson
- ci(
- Change inside the parentheses, keeping the pair
- ci[
- Change inside the square brackets, keeping the pair
- ci{
- Change inside the braces, keeping the pair
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.