diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2022-12-15 13:15:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-15 13:15:39 +0000 |
commit | ba936f6f4e85cc1408bc3967f9fd7665d948909b (patch) | |
tree | 5c3d87dd658a5c5de01db33af82103dbb96714cc /runtime/doc | |
parent | 3d473ee1a6aed7cb9eae458bbd8d42dffdc754f9 (diff) |
patch 9.0.1061: cannot display 'showcmd' somewhere elsev9.0.1061
Problem: Cannot display 'showcmd' somewhere else.
Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes #11684)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/options.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index e95f63f751..87fd2cf327 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -7220,9 +7220,25 @@ A jump table for the options with a short description can be found at |Q_op|. - When selecting more than one line, the number of lines. - When selecting a block, the size in screen characters: {lines}x{columns}. + This information can be displayed in an alternative location using the + 'showcmdloc' option. NOTE: This option is set to the Vi default value when 'compatible' is set and to the Vim default value when 'compatible' is reset. + *'showcmdloc'* *'sloc'* +'showcmdloc' 'sloc' string (default "last") + This option can be used to display the (partially) entered command in + another location. Possible values are: + last Last line of the screen (default). + statusline Status line of the current window. + tabline First line of the screen if 'showtabine' is enabled. + Setting this option to "statusline" or "tabline" means that these will + be redrawn whenever the command changes, which can be on every key + pressed. + The %S 'statusline' item can be used in 'statusline' or 'tabline' to + place the text. Without a custom 'statusline' or 'tabline' it will be + displayed in a convenient location. + *'showfulltag'* *'sft'* *'noshowfulltag'* *'nosft'* 'showfulltag' 'sft' boolean (default off) global @@ -7720,6 +7736,7 @@ A jump table for the options with a short description can be found at |Q_op|. P S Percentage through file of displayed window. This is like the percentage described for 'ruler'. Always 3 in length, unless translated. + S S 'showcmd' content, see 'showcmdloc'. a S Argument list status as in default title. ({current} of {max}) Empty if the argument file count is zero or one. { NF Evaluate expression between '%{' and '}' and substitute result. |