Vim Recall繁體中文

Equivalent to <C-RightMouse>

g<RightMouse>

Example

Normal 0 / 1
void print(void) {
  return;
}
Cursor on line 1, column 1

Equivalent to <C-RightMouse>.

Prepared tag index

print
library.c:1
print
alternate.c:1

Illustrated windows

library.c Active
First tag match

Tag stack

Return location
example.c:1 column 6
Current index
After the only entry
Before & after
Before
void print(void) {
  return;
}
Cursor on line 1, column 1

Prepared tag index

print
library.c:1
print
alternate.c:1

Illustrated windows

library.c Active
First tag match

Tag stack

Return location
example.c:1 column 6
Current index
After the only entry
After
call print
keep
Cursor on line 1, column 6

Prepared tag index

print
library.c:1
print
alternate.c:1

Illustrated windows

example.c Active
Active source

Tag stack

Return location
example.c:1 column 6
Current index
On the retained entry

ILLUSTRATION. The active window shows unmodified library.c with winfixbuf off. Its prepared tag stack holds one return entry at example.c line 1, column 6, with the index after that entry. Assume mouse=a and a delivered Vim mouse event. Press g, then right-click. This acts like Ctrl-t and uses the stored return position.

Details & Vim help

Equivalent to <C-RightMouse>. 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.