Vim Recall繁體中文

Extend selection with a double quoted string (without quotes)

i"

Example

Visual 0 / 1
say "one two" tail
Cursor on line 1, column 7 · Character selection

Extend selection with a double quoted string (without quotes).

Before & after
Before
say "one two" tail
Cursor on line 1, column 7 · Character selection
After
say "one two" tail
Cursor on line 1, column 12 · Character selection

Start in Visual mode. The highlighted area is observed in Vim. Any displayed register boxes show the exact copied or deleted contents.

Details & Vim help

Example replayed in Vim

Extend selection with a double quoted string (without quotes). Use in Visual mode. 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.