Vim Recall繁體中文

Equivalent to ]p

]<MiddleMouse>

Example

Normal 0 / 1
  one
keep
Cursor on line 1, column 3

Equivalent to ]p.

Vim registers

* Simulated system clipboard (*)
Linewise · ↵ marks a line breakred↵
· space ⇥ tab ↵ line break

SIMULATED PRIMARY selection

*
red⏎ (linewise)
Indent
Current line has two spaces; shiftwidth=2
Before & after
Before
  one
keep
Cursor on line 1, column 3

Vim registers

* Simulated system clipboard (*)
Linewise · ↵ marks a line breakred↵
· space ⇥ tab ↵ line break

SIMULATED PRIMARY selection

*
red⏎ (linewise)
Indent
Current line has two spaces; shiftwidth=2
After
  one
  red
keep
Cursor on line 3, column 1

Vim registers

* Simulated system clipboard (*)
Linewise · ↵ marks a line breakred↵
· space ⇥ tab ↵ line break

SIMULATED PRIMARY selection

*
red⏎ (linewise)
Indent
Current line has two spaces; shiftwidth=2

ILLUSTRATION. Assume Vim with mouse=a, shiftwidth=2, available PRIMARY (*) selection support and delivered unmapped mouse events; simulated * holds a linewise red. Click line 1, column 3 (the o) in the active buffer. This ] form puts after the clicked line with indent adjustment and leaves the cursor at the start of the following keep line; no host clipboard is accessed.

Details & Vim help

Equivalent to ]p. 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. The click chooses the target position. When linewise text is put after a clicked buffer line that has a following line, the mouse put leaves the cursor at the start of that following line.