Vim Recall繁體中文

String in backticks without the backticks

{operator}i`

Example

Normal 0 / 2
say `one two` tail
Cursor on line 1, column 7

String in backticks without the backticks.

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
- Small delete register
CharacterwiseEmpty
· space ⇥ tab ↵ line break
Before & after
Before
say `one two` tail
Cursor on line 1, column 7

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
- Small delete register
CharacterwiseEmpty
· space ⇥ tab ↵ line break
After
say `` tail
Cursor on line 1, column 6

Vim registers

" Unnamed register Changed
Characterwise · Uses Small delete registerone·two
- Small delete register Changed
Characterwiseone·two
· space ⇥ tab ↵ line break

Start in Normal mode. Use d as {operator}; the text object is selected for deletion without entering Visual mode.

Details & Vim help

Example replayed in Vim

String in backticks without the backticks. Use this text object after an operator such as d, c or y, or use the object itself while in Visual mode. The {operator} prefix marks context and is not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. In Vim 9.2.1341, applying the object again to an exact selection of the quoted interior also selects the delimiters.