Skip to main content

Module bracket

Module bracket 

Source
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§

AroundAngle
Around angle bracket text object.
AroundBrace
Around brace text object.
AroundParen
Around parenthesis text object.
AroundSquareBracket
Around square bracket text object.
InnerAngle
Inner angle bracket text object.
InnerBrace
Inner brace text object.
InnerParen
Inner parenthesis text object.
InnerSquareBracket
Inner square bracket text object.

Functions§

all_commands
Get all bracket text object commands as boxed trait objects.