Skip to content

Commit a70a5a0

Browse files
authored
Merge pull request #2519 from h-east/update-windows
Update windows.{txt,jax}
2 parents 8dc671e + cf91478 commit a70a5a0

2 files changed

Lines changed: 24 additions & 4 deletions

File tree

doc/windows.jax

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14
1+
*windows.txt* For Vim バージョン 9.2. Last change: 2026 Mar 01
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -129,6 +129,7 @@ Buf/Win Enter/Leave 時の自動コマンド|autocommand|は、新しいウィ
129129
ステータス行の内容は 'statusline' オプションで変更できる。
130130
このオプションはウィンドウについてローカルにすることもでき、そうすると各ウィン
131131
ドウごとに異なるステータスラインを表示することができる。
132+
'statuslineopt' オプションを使用してステータスラインの高さを変更できる。
132133

133134
通常、ステータス行は反転表示される。これは 'highlight' オプションの 's' キャラ
134135
クタで変更できる。例えば、"sb" は太文字に設定する。ステータス行にハイライトを
@@ -973,11 +974,20 @@ CTRL-W gT *CTRL-W_gT*
973974
を使用することができる。設定されているときは、'previewwindow' および
974975
'previewheight' の設定は無効になる。このオプションは値をコンマで区切ったリスト
975976
である:
977+
border ボーダースタイル ('pumborder' 参照)
978+
borderhighlight ポップアップのボーダーの文字のハイライトグループ
979+
close 閉じるボタンを表示: "on" (デフォルト) または "off"。値
980+
が "on" の場合は、ボーダーの後に設定する必要がある。
976981
height ポップアップの最大高さ
982+
highlight ポップアップのハイライトグループ (デフォルトは Pmenu)
983+
resize リサイズハンドルを表示: "on" (デフォルト) または "off"
984+
shadow |hl-PmenuShadow| を使用。"off" (デフォルト) または "on"
977985
width ポップアップの最大幅
978-
highlight ポップアップのハイライトグループ(デフォルトは Pmenu)
986+
979987
例: >
980988
:set previewpopup=height:10,width:60
989+
:set previewpopup=border:single,borderhilight:PmenuBorder
990+
:set previewpopup=border:custom:─;│;─;│;┌;┐;┘;└
981991
982992
いくつかの特徴:
983993
- ファイルが既にバッファにある場合、再利用される。これにより、ポップアップウィ

en/windows.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim version 9.2. Last change: 2026 Feb 14
1+
*windows.txt* For Vim version 9.2. Last change: 2026 Mar 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -125,6 +125,7 @@ when the last window also has a status line:
125125
You can change the contents of the status line with the 'statusline' option.
126126
This option can be local to the window, so that you can have a different
127127
status line in each window.
128+
You can change the height of the status line with the 'statuslineopt' option.
128129

129130
Normally, inversion is used to display the status line. This can be changed
130131
with the 's' character in the 'highlight' option. For example, "sb" sets it
@@ -954,11 +955,20 @@ windows.
954955
Alternatively, a popup window can be used by setting the 'previewpopup'
955956
option. When set, it overrules the 'previewwindow' and 'previewheight'
956957
settings. The option is a comma-separated list of values:
958+
border border style (see 'pumborder')
959+
borderhighlight highlight group for the popup border characters
960+
close show close button: "on" (default) or "off", and if
961+
the value is "on", it must be set after border.
957962
height maximum height of the popup
958-
width maximum width of the popup
959963
highlight highlight group of the popup (default is Pmenu)
964+
resize show resize handle: "on" (default) or "off"
965+
shadow "off" (default) or "on" using |hl-PmenuShadow|
966+
width maximum width of the popup
967+
960968
Example: >
961969
:set previewpopup=height:10,width:60
970+
:set previewpopup=border:single,borderhilight:PmenuBorder
971+
:set previewpopup=border:custom:─;│;─;│;┌;┐;┘;└
962972
963973
A few peculiarities:
964974
- If the file is in a buffer already, it will be re-used. This will allow for

0 commit comments

Comments
 (0)