Text Objects · Brackets
Delete Around Brackets
Remove a paired delimiter and everything inside it.
The around variant includes both delimiters. It is useful when the entire grouping should disappear rather than merely become empty.
Use da(, da[, and da{ in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.
Keys in this lesson
- da(
- Delete the parentheses and everything inside them
- da[
- Delete the square brackets and everything inside them
- da{
- Delete the braces and everything inside them
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.