when you start with "vim -u NONE" then there is a statusline.
filename, modification status, ruler (line,column) and percentage.
but when you look at the setting with ":set statusline" then
nothing is shown. so i suppose an internal default value is used.
but how to show it? the ":help statusline" does not list it.
and with ":set statusline&" is goes back to empty again. :-/
i am aware of the examples in options.txt, and yet i think
that ":set stl" should show something else than an empty value.
or rather, when this value is empty then nothing is shown at all. ;)
Sven
$ cd vim; rg -w BOT .
./src/option.h
340:#define STL_ALTPERCENT 'P' // percentage as TOP BOT ALL or NN%
$ cd vim; rg %l,%c .
./runtime/doc/options.txt
7417: :set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
7419: :set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P
Examples:
Emulate standard status line with 'ruler' set >
:set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210531084216.c56mtkaxztagfrpd%40guckes.net.
No comments:
Post a Comment