Vim Recall繁體中文

Equivalent to <C-MiddleMouse>

g<MiddleMouse>

Example

Normal 0 / 1
one two
three four
Cursor on line 1, column 1

Equivalent to <C-MiddleMouse>.

Vim registers

* Simulated system clipboard (*)
CharacterwiseRED
· space ⇥ tab ↵ line break

SIMULATED PRIMARY selection

*
RED (characterwise)
Mouse
line 1, column 5
Before & after
Before
one two
three four
Cursor on line 1, column 1

Vim registers

* Simulated system clipboard (*)
CharacterwiseRED
· space ⇥ tab ↵ line break

SIMULATED PRIMARY selection

*
RED (characterwise)
Mouse
line 1, column 5
After
one two
three four
Cursor on line 1, column 1

Vim registers

* Simulated system clipboard (*)
CharacterwiseRED
· space ⇥ tab ↵ line break

SIMULATED PRIMARY selection

*
RED (characterwise)
Mouse
line 1, column 5

ILLUSTRATION. mouse=a, mousemodel=extend, selectmode empty, scrolloff=0; terminal/GUI mouse events reach Vim. Coordinates are one-based buffer line and column. The official index defines this as Control-middle. In Vim's primary mouse implementation, the Ctrl modifier permits left/right actions and ignores middle clicks. The prepared simulated PRIMARY text is retained, without a paste.

Details & Vim help

Equivalent to <C-MiddleMouse>. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. Mouse support and terminal/GUI event handling must be available.