|
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 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -125,6 +125,7 @@ when the last window also has a status line: |
125 | 125 | You can change the contents of the status line with the 'statusline' option. |
126 | 126 | This option can be local to the window, so that you can have a different |
127 | 127 | status line in each window. |
| 128 | +You can change the height of the status line with the 'statuslineopt' option. |
128 | 129 |
|
129 | 130 | Normally, inversion is used to display the status line. This can be changed |
130 | 131 | with the 's' character in the 'highlight' option. For example, "sb" sets it |
@@ -954,11 +955,20 @@ windows. |
954 | 955 | Alternatively, a popup window can be used by setting the 'previewpopup' |
955 | 956 | option. When set, it overrules the 'previewwindow' and 'previewheight' |
956 | 957 | 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. |
957 | 962 | height maximum height of the popup |
958 | | - width maximum width of the popup |
959 | 963 | 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 | + |
960 | 968 | Example: > |
961 | 969 | :set previewpopup=height:10,width:60 |
| 970 | + :set previewpopup=border:single,borderhilight:PmenuBorder |
| 971 | + :set previewpopup=border:custom:─;│;─;│;┌;┐;┘;└ |
962 | 972 |
|
963 | 973 | A few peculiarities: |
964 | 974 | - If the file is in a buffer already, it will be re-used. This will allow for |
|
0 commit comments