Move to the window above
Ctrl-w k
Example
Normal 0 / 1Normal 1 / 1Focus the window above.
Windows
- Window 3 · alpha.txt
40 columns × 11 lines- Window 4 · alpha.txt
39 columns × 11 lines
- Window 2 · alpha.txt
40 columns × 10 lines- Window 1 · alpha.txt Active
39 columns × 10 lines
Focus the window above
Windows
- Window 3 · alpha.txt
40 columns × 11 lines- Window 4 · alpha.txt Active
39 columns × 11 lines
- Window 2 · alpha.txt
40 columns × 10 lines- Window 1 · alpha.txt
39 columns × 10 lines
Before & after
Before
Windows
- Window 3 · alpha.txt
40 columns × 11 lines- Window 4 · alpha.txt
39 columns × 11 lines
- Window 2 · alpha.txt
40 columns × 10 lines- Window 1 · alpha.txt Active
39 columns × 10 lines
After
Windows
- Window 3 · alpha.txt
40 columns × 11 lines- Window 4 · alpha.txt Active
39 columns × 11 lines
- Window 2 · alpha.txt
40 columns × 10 lines- Window 1 · alpha.txt
39 columns × 10 lines
Start in Normal mode. Window labels are stable example identifiers, not Vim window numbers. The panel shows observed positions, sizes and the active window in an 80-column example workspace.
one two
three four
five six
keepCursor on line 1, column 1Details & Vim help
Example replayed in Vim
Focus the window above.
Ctrl-w followed by k moves up through the window layout. A count can cross several windows where the layout permits.