Equivalent to <C-LeftMouse>
g<LeftMouse>
Example
Normal 0 / 1Normal 1 / 1call print
keepCursor on line 1, column 1void print(void) {
return;
}Cursor on line 1, column 1Equivalent to <C-LeftMouse>.
Prepared tag index
library.c:1alternate.c:1
Illustrated windows
- example.c Active
Active source
Jump to the first tag definition for the clicked print keyword.
Prepared tag index
library.c:1alternate.c:1
Illustrated windows
- library.c Active
First tag match
Tag stack
- Return location
example.c:1 column 6
Before & after
call print
keepCursor on line 1, column 1Prepared tag index
library.c:1alternate.c:1
Illustrated windows
- example.c Active
Active source
void print(void) {
return;
}Cursor on line 1, column 1Prepared tag index
library.c:1alternate.c:1
Illustrated windows
- library.c Active
First tag match
Tag stack
- Return location
example.c:1 column 6
ILLUSTRATION. A prepared tag index resolves print to library.c. mouse=a; click line 1, column 6, the p of print. The tag-stack return is that exact clicked position. Assume both illustrated buffers are unmodified.
Details & Vim help
Equivalent to <C-LeftMouse>. 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.