Vim RecallEnglish

平均分配視窗大小

Ctrl-w =

範例

一般模式 0 / 1

在版面允許的範圍內,平均分配各視窗的寬度和高度。

視窗

視窗 3 · alpha.txt 使用中
24 欄 × 4 行
視窗 4 · alpha.txt
55 欄 × 11 行
視窗 2 · alpha.txt
24 欄 × 17 行
視窗 1 · alpha.txt
55 欄 × 10 行
操作前後

操作前

視窗

視窗 3 · alpha.txt 使用中
24 欄 × 4 行
視窗 4 · alpha.txt
55 欄 × 11 行
視窗 2 · alpha.txt
24 欄 × 17 行
視窗 1 · alpha.txt
55 欄 × 10 行

操作後

視窗

視窗 3 · alpha.txt 使用中
40 欄 × 11 行
視窗 4 · alpha.txt
39 欄 × 11 行
視窗 2 · alpha.txt
40 欄 × 10 行
視窗 1 · alpha.txt
39 欄 × 10 行

從一般模式開始。視窗標籤用來辨識範例中的同一個視窗,與 Vim 的視窗編號不同。面板顯示此 80 欄寬的 Vim 工作區中,各視窗的實際位置、大小和目前使用的視窗。

範例緩衝區
one two
three four
five six
keep
游標位於第 1 行,第 1 欄
詳細說明與 Vim 文件

範例已在 Vim 重播驗證

在版面允許的範圍內,平均分配各視窗的寬度和高度。

Ctrl-w = 平均分配視窗高度和寬度。winfixheight、winfixwidth 和版面限制可能讓部分視窗維持原來大小。