Vim Recall繁體中文

Create a new empty window

:new

Example

Normal 0 / 2
one two
three four
five six
keep
Cursor on line 1, column 1

Create a new empty window.

Windows

Window 3 · alpha.txt Active
40 columns × 11 lines
Window 4 · alpha.txt
39 columns × 11 lines
Window 2 · alpha.txt
40 columns × 10 lines
Window 1 · alpha.txt
39 columns × 10 lines

Buffers

1 · alpha.txt Active
loaded · listed · alternate · one two ↩ three four

Tab pages

Tab 1 Active
alpha.txt, alpha.txt, alpha.txt, alpha.txt

Option · number

Local number
0
Global number
0
Before & after
Before
one two
three four
five six
keep
Cursor on line 1, column 1

Windows

Window 3 · alpha.txt Active
40 columns × 11 lines
Window 4 · alpha.txt
39 columns × 11 lines
Window 2 · alpha.txt
40 columns × 10 lines
Window 1 · alpha.txt
39 columns × 10 lines

Buffers

1 · alpha.txt Active
loaded · listed · alternate · one two ↩ three four

Tab pages

Tab 1 Active
alpha.txt, alpha.txt, alpha.txt, alpha.txt

Option · number

Local number
0
Global number
0
After
Cursor on line 1, column 1

Windows

Window 5 · [No Name] Active
40 columns × 7 lines
Window 4 · alpha.txt
39 columns × 11 lines
Window 3 · alpha.txt
40 columns × 7 lines
Window 1 · alpha.txt
39 columns × 10 lines
Window 2 · alpha.txt
40 columns × 6 lines

Buffers

1 · alpha.txt
loaded · listed · alternate · one two ↩ three four
2 · [No Name] Active
loaded · listed

Tab pages

Tab 1 Active
[No Name], alpha.txt, alpha.txt, alpha.txt, alpha.txt

Option · number

Local number
0
Global number
0

Start in Normal mode. The displayed literal command supplies any required size or completing split command. All windows belong to this isolated example.

Details & Vim help

Example replayed in Vim

Create a new empty window. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.