Vim Recall繁體中文

Begin the extended CTRL-W g command family; a continuation is required

Ctrl-w Ctrl-g {command}

Example

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

Begin the extended CTRL-W g command family; a continuation is required.

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
example.c
Original window

ILLUSTRATION. Two prepared print tags exist. Supply ] as the required Ctrl-w Ctrl-g continuation. Choose entry 1 in the illustrated tag-selection prompt; splitbelow is off, and space is available. The split is created only after choosing a tag, not while the choice is pending. Sources are mock workspace data.

Details & Vim help

Begin the extended CTRL-W g command family; a continuation is required. Use in Normal mode. Braced names stand for the required argument and are not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. This is an alternative prefix for Ctrl-w g. It waits for a continuation; unsupported continuations beep and end the prefix. {command} is a placeholder.