runtime(doc): add preview flag to statusline example
Problem: The standard statusline example is missing the preview flag
"%w"
Solution: Add the preview flag "%w"
closes: #15874
Signed-off-by: saher <msaher.shair@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
7d755d8ef3
commit
7b5e52d16f
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 9.1. Last change: 2024 Oct 06
|
*options.txt* For Vim version 9.1. Last change: 2024 Oct 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -7969,7 +7969,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
Emulate standard status line with 'ruler' set >
|
Emulate standard status line with 'ruler' set >
|
||||||
:set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
|
:set statusline=%<%f\ %h%w%m%r%=%-14.(%l,%c%V%)\ %P
|
||||||
< Similar, but add ASCII value of char under the cursor (like "ga") >
|
< Similar, but add ASCII value of char under the cursor (like "ga") >
|
||||||
:set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P
|
:set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P
|
||||||
< Display byte count and byte value, modified flag in red. >
|
< Display byte count and byte value, modified flag in red. >
|
||||||
|
|||||||
Reference in New Issue
Block a user