Vim Recall繁體中文

Navigate to highlighted tag

Ctrl-]

Example

Visual 0 / 1
call print
keep
Cursor on line 1, column 10 · Character selection

Navigate to highlighted tag.

Prepared tag index

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

Illustrated windows

example.c Active
Active source
Before & after
Before
call print
keep
Cursor on line 1, column 10 · Character selection

Prepared tag index

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

Illustrated windows

example.c Active
Active source
After
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 10

ILLUSTRATION. In unmodified example.c, use selection=inclusive and select print characterwise from p to t. Enable tagstack and turn off winfixbuf. The first matching tag in the prepared lookup is print at numeric line address 1 of readable library.c.

Details & Vim help

Navigate to highlighted tag. Use in Visual mode with a selection contained in one line. Vim uses the selected text as the tag name. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.