File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- *windows.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14
1+ *windows.txt* For Vim バージョン 9.2. Last change: 2026 Feb 24
22
33
44 VIM リファレンスマニュアル by Bram Moolenaar
@@ -973,11 +973,20 @@ CTRL-W gT *CTRL-W_gT*
973973を使用することができる。設定されているときは、'previewwindow' および
974974'previewheight' の設定は無効になる。このオプションは値をコンマで区切ったリスト
975975である:
976+ border ボーダースタイル ('pumborder' 参照)
977+ borderhighlight ポップアップのボーダーの文字のハイライトグループ
978+ close 閉じるボタンを表示: "on" (デフォルト) または "off"。値
979+ が "on" の場合は、ボーダーの後に設定する必要がある。
976980 height ポップアップの最大高さ
981+ highlight ポップアップのハイライトグループ (デフォルトは Pmenu)
982+ resize リサイズハンドルを表示: "on" (デフォルト) または "off"
983+ shadow | hl-PmenuShadow | を使用。"off" (デフォルト) または "on"
977984 width ポップアップの最大幅
978- highlight ポップアップのハイライトグループ(デフォルトは Pmenu)
985+
979986例: >
980987 :set previewpopup=height:10,width:60
988+ :set previewpopup=border:single,borderhilight:PmenuBorder
989+ :set previewpopup=border:custom:─;│;─;│;┌;┐;┘;└
981990
982991 いくつかの特徴:
983992- ファイルが既にバッファにある場合、再利用される。これにより、ポップアップウィ
Original file line number Diff line number Diff line change 1- *windows.txt* For Vim version 9.2. Last change: 2026 Feb 14
1+ *windows.txt* For Vim version 9.2. Last change: 2026 Feb 24
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -954,11 +954,20 @@ windows.
954954Alternatively, a popup window can be used by setting the 'previewpopup'
955955option. When set, it overrules the 'previewwindow' and 'previewheight'
956956settings. The option is a comma-separated list of values:
957+ border border style (see 'pumborder' )
958+ borderhighlight highlight group for the popup border characters
959+ close show close button: "on" (default) or "off", and if
960+ the value is "on", it must be set after border.
957961 height maximum height of the popup
958- width maximum width of the popup
959962 highlight highlight group of the popup (default is Pmenu)
963+ resize show resize handle: "on" (default) or "off"
964+ shadow "off" (default) or "on" using | hl-PmenuShadow |
965+ width maximum width of the popup
966+
960967Example: >
961968 :set previewpopup=height:10,width:60
969+ :set previewpopup=border:single,borderhilight:PmenuBorder
970+ :set previewpopup=border:custom:─;│;─;│;┌;┐;┘;└
962971
963972 A few peculiarities:
964973- If the file is in a buffer already, it will be re-used. This will allow for
You can’t perform that action at this time.
0 commit comments