Vim Recall繁體中文

:tselect on the tag under the cursor

g]

Example

Normal 0 / 2
call print
keep
Cursor on line 1, column 6

:tselect on the tag under the cursor.

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 6

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
Selected tag definition

ILLUSTRATION. Two prepared print tags exist. Choose entry 1 in the illustrated tag-selection prompt; splitbelow is off, and space is available. Sources are mock workspace data.

Details & Vim help

:tselect on the tag under the cursor. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.