Expand description
Bracket text object commands.
Implements text objects: i(, a(, i[, a[, i{, a{, i<, a<.
These commands select text within or around bracket pairs.
§Mode-Aware Behavior (Epic #465)
Text objects behave differently based on the current mode:
- Operator-pending mode (d, y, c): Store range for operator consumption
- Visual mode (v, V, Ctrl-V): Update selection to cover the text object
Structs§
- Around
Angle - Around angle bracket text object.
- Around
Brace - Around brace text object.
- Around
Paren - Around parenthesis text object.
- Around
Square Bracket - Around square bracket text object.
- Inner
Angle - Inner angle bracket text object.
- Inner
Brace - Inner brace text object.
- Inner
Paren - Inner parenthesis text object.
- Inner
Square Bracket - Inner square bracket text object.
Functions§
- all_
commands - Get all bracket text object commands as boxed trait objects.