diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-31 14:46:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-31 14:46:18 +0100 |
commit | a2a8973e51a0052bb52e43a2b22e7ecdecc32003 (patch) | |
tree | 42700a5eab4930539b87591ad903f7271b527fc3 /runtime | |
parent | a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19 (diff) | |
download | vim-git-a2a8973e51a0052bb52e43a2b22e7ecdecc32003.tar.gz |
patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 1aa5c2cd9..1b9ae38db 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1783,18 +1783,11 @@ A jump table for the options with a short description can be found at |Q_op|. *'cmdheight'* *'ch'* 'cmdheight' 'ch' number (default 1) global or local to tab page - Number of screen lines to use for the command-line. Helps avoiding - |hit-enter| prompts. + Number of screen lines to use for the command-line. A larger value + helps avoiding |hit-enter| prompts. The value of this option is stored with the tab page, so that each tab page can have a different value. - When 'cmdheight' is zero, there is no command-line unless it is being - used. Informative messages will be displayed in a popup notification - window at the bottom if the window, using the MessageWindow highlight - group {only if compiled with the +popupwin and +timers features}, - otherwise they will not be displayed. Other messages will cause the - |hit-enter| prompt. Expect some other unexpected behavior too. - *'cmdwinheight'* *'cwh'* 'cmdwinheight' 'cwh' number (default 7) global @@ -6474,11 +6467,9 @@ A jump table for the options with a short description can be found at |Q_op|. 45% relative position in the file If 'rulerformat' is set, it will determine the contents of the ruler. Each window has its own ruler. If a window has a status line, the - ruler is shown there. If a window doesn't have a status line and - 'cmdheight' is zero, the ruler is not shown. Otherwise it is shown in - the last line of the screen. If the statusline is given by - 'statusline' (i.e. not empty), this option takes precedence over - 'ruler' and 'rulerformat'. + ruler is shown there. Otherwise it is shown in the last line of the + screen. If the statusline is given by 'statusline' (i.e. not empty), + this option takes precedence over 'ruler' and 'rulerformat'. If the number of characters displayed is different from the number of bytes in the text (e.g., for a TAB or a multibyte character), both the text column (byte number) and the screen column are shown, @@ -7128,7 +7119,6 @@ A jump table for the options with a short description can be found at |Q_op|. |+cmdline_info| feature} Show (partial) command in the last line of the screen. Set this option off if your terminal is slow. - The option has no effect when 'cmdheight' is zero. In Visual mode the size of the selected area is shown: - When selecting characters within a line, the number of characters. If the number of bytes is different it is also displayed: "2-6" @@ -7178,7 +7168,6 @@ A jump table for the options with a short description can be found at |Q_op|. If in Insert, Replace or Visual mode put a message on the last line. Use the 'M' flag in 'highlight' to set the type of highlighting for this message. - The option has no effect when 'cmdheight' is zero. When |XIM| may be used the message will include "XIM". But this doesn't mean XIM is really active, especially when 'imactivatekey' is not set. |