Mercurial > vim
comparison runtime/doc/options.txt @ 29546:8a243ecfe2dd v9.0.0114
patch 9.0.0114: the command line takes up space even when not used
Commit: https://github.com/vim/vim/commit/f39cfb72629f3e7fefaf578a3faa2619cd0654f8
Author: Shougo Matsushita <Shougo.Matsu@gmail.com>
Date: Sat Jul 30 16:54:05 2022 +0100
patch 9.0.0114: the command line takes up space even when not used
Problem: The command line takes up space even when not used.
Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
closes #10675, closes #940)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Jul 2022 18:00:03 +0200 |
parents | 67f31c24291b |
children | d413dccd4f8a |
comparison
equal
deleted
inserted
replaced
29545:b544e30ddc6c | 29546:8a243ecfe2dd |
---|---|
1758 The rest of the option value will be used for | 1758 The rest of the option value will be used for |
1759 {pattern}, this must be the last entry. | 1759 {pattern}, this must be the last entry. |
1760 | 1760 |
1761 *'cmdheight'* *'ch'* | 1761 *'cmdheight'* *'ch'* |
1762 'cmdheight' 'ch' number (default 1) | 1762 'cmdheight' 'ch' number (default 1) |
1763 global | 1763 global or local to tab page |
1764 Number of screen lines to use for the command-line. Helps avoiding | 1764 Number of screen lines to use for the command-line. Helps avoiding |
1765 |hit-enter| prompts. | 1765 |hit-enter| prompts. |
1766 The value of this option is stored with the tab page, so that each tab | 1766 The value of this option is stored with the tab page, so that each tab |
1767 page can have a different value. | 1767 page can have a different value. |
1768 | |
1769 When 'cmdheight' is zero, there is no command-line unless it is being | |
1770 used. Any messages will cause the |hit-enter| prompt. | |
1768 | 1771 |
1769 *'cmdwinheight'* *'cwh'* | 1772 *'cmdwinheight'* *'cwh'* |
1770 'cmdwinheight' 'cwh' number (default 7) | 1773 'cmdwinheight' 'cwh' number (default 7) |
1771 global | 1774 global |
1772 Number of screen lines to use for the command-line window. |cmdwin| | 1775 Number of screen lines to use for the command-line window. |cmdwin| |
6444 Bot last line is visible | 6447 Bot last line is visible |
6445 All first and last line are visible | 6448 All first and last line are visible |
6446 45% relative position in the file | 6449 45% relative position in the file |
6447 If 'rulerformat' is set, it will determine the contents of the ruler. | 6450 If 'rulerformat' is set, it will determine the contents of the ruler. |
6448 Each window has its own ruler. If a window has a status line, the | 6451 Each window has its own ruler. If a window has a status line, the |
6449 ruler is shown there. Otherwise it is shown in the last line of the | 6452 ruler is shown there. If a window doesn't have a status line and |
6450 screen. If the statusline is given by 'statusline' (i.e. not empty), | 6453 'cmdheight' is zero, the ruler is not shown. Otherwise it is shown in |
6451 this option takes precedence over 'ruler' and 'rulerformat' | 6454 the last line of the screen. If the statusline is given by |
6455 'statusline' (i.e. not empty), this option takes precedence over | |
6456 'ruler' and 'rulerformat' | |
6452 If the number of characters displayed is different from the number of | 6457 If the number of characters displayed is different from the number of |
6453 bytes in the text (e.g., for a TAB or a multibyte character), both | 6458 bytes in the text (e.g., for a TAB or a multibyte character), both |
6454 the text column (byte number) and the screen column are shown, | 6459 the text column (byte number) and the screen column are shown, |
6455 separated with a dash. | 6460 separated with a dash. |
6456 For an empty line "0-1" is shown. | 6461 For an empty line "0-1" is shown. |
7096 global | 7101 global |
7097 {not available when compiled without the | 7102 {not available when compiled without the |
7098 |+cmdline_info| feature} | 7103 |+cmdline_info| feature} |
7099 Show (partial) command in the last line of the screen. Set this | 7104 Show (partial) command in the last line of the screen. Set this |
7100 option off if your terminal is slow. | 7105 option off if your terminal is slow. |
7106 The option has no effect when 'cmdheight' is zero. | |
7101 In Visual mode the size of the selected area is shown: | 7107 In Visual mode the size of the selected area is shown: |
7102 - When selecting characters within a line, the number of characters. | 7108 - When selecting characters within a line, the number of characters. |
7103 If the number of bytes is different it is also displayed: "2-6" | 7109 If the number of bytes is different it is also displayed: "2-6" |
7104 means two characters and six bytes. | 7110 means two characters and six bytes. |
7105 - When selecting more than one line, the number of lines. | 7111 - When selecting more than one line, the number of lines. |
7145 'showmode' 'smd' boolean (Vim default: on, Vi default: off) | 7151 'showmode' 'smd' boolean (Vim default: on, Vi default: off) |
7146 global | 7152 global |
7147 If in Insert, Replace or Visual mode put a message on the last line. | 7153 If in Insert, Replace or Visual mode put a message on the last line. |
7148 Use the 'M' flag in 'highlight' to set the type of highlighting for | 7154 Use the 'M' flag in 'highlight' to set the type of highlighting for |
7149 this message. | 7155 this message. |
7156 The option has no effect when 'cmdheight' is zero. | |
7150 When |XIM| may be used the message will include "XIM". But this | 7157 When |XIM| may be used the message will include "XIM". But this |
7151 doesn't mean XIM is really active, especially when 'imactivatekey' is | 7158 doesn't mean XIM is really active, especially when 'imactivatekey' is |
7152 not set. | 7159 not set. |
7153 NOTE: This option is set to the Vi default value when 'compatible' is | 7160 NOTE: This option is set to the Vi default value when 'compatible' is |
7154 set and to the Vim default value when 'compatible' is reset. | 7161 set and to the Vim default value when 'compatible' is reset. |