Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.editoren > #364
| From | Andreas Kohlbach <ank@spamfence.net> |
|---|---|
| Newsgroups | de.comp.editoren |
| Subject | Re: [VIM] Statuszeile ruiniert |
| Date | 2021-08-25 15:52 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <87pmu11evh.fsf@usenet.ankman.de> (permalink) |
| References | <874kbe2rwp.fsf@usenet.ankman.de> <ioma8qFr9baU1@mid.individual.net> <871r6h34gr.fsf@usenet.ankman.de> <ionjcjF4ghaU1@mid.individual.net> |
On Wed, 25 Aug 2021 21:18:42 +0200, nospam_2021@efbe.prima.de wrote:
>
> Am 25.08.21 um 17:54 schrieb Andreas Kohlbach:
>> On Wed, 25 Aug 2021 09:36:58 +0200, nospam_2021@efbe.prima.de wrote:
>>>
>>> Am 25.08.21 um 04:13 schrieb Andreas Kohlbach:
>>>> Seit Langem zeigte VIM in der Statuszeile die Anzahl der Zeilen und die
>>>> aktuelle Position des Cursors an, bis ich auf die Idee kam, (auch) die
>>>> Wortzahl anzuzeigen. Der eingefügte Schnipsel in die vimrc zeigte dann
>>>> aber *nur* die Wortzahl an.
>>>> set statusline+=%{wordcount().words}\ words
>>>> set laststatus=2 " enables the statusline.
>>>> Nun war mir die aktuelle Zeilenzahl und Position des Cursors doch
>>>> wieder
>>>> wichtiger, dass ich beide Zeilen auskommentierte. Nun wird nichts mehr
>>>> angezeigt.
>>> Wenn du laststatus nicht setzt, gibt es auch keine statusline
>>
>> Auch wenn nur "set laststatus=2" allein gesetzt ist, wird keine angezeigt.
>
> Was passiert mit
> :set statusline?
>
> Meine statusline in vimrc
> set statusline=%F%m%r%h%w%=(Z\ %l\/%L,\ Sp\ %c)\ %P
>
> ergibt z.B.
> ~/.vim/vimrc[+] (Z 142/264, Sp 1) 55%
Invertiert:
[No Name][+]
wenn auch
set laststatus=2
gesetzt ist. Sonst gar nichts.
--
Andreas
Back to de.comp.editoren | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[VIM] Statuszeile ruiniert Andreas Kohlbach <ank@spamfence.net> - 2021-08-24 22:13 -0400
Re: [VIM] Statuszeile ruiniert nospam_2021@efbe.prima.de - 2021-08-25 09:36 +0200
Re: [VIM] Statuszeile ruiniert Andreas Kohlbach <ank@spamfence.net> - 2021-08-25 11:54 -0400
Re: [VIM] Statuszeile ruiniert nospam_2021@efbe.prima.de - 2021-08-25 21:18 +0200
Re: [VIM] Statuszeile ruiniert Andreas Kohlbach <ank@spamfence.net> - 2021-08-25 15:52 -0400
Re: [VIM] Statuszeile ruiniert nospam_2021@efbe.prima.de - 2021-08-26 11:19 +0200
Re: [VIM] Statuszeile ruiniert Andreas Kohlbach <ank@spamfence.net> - 2021-08-26 12:32 -0400
Re: [VIM] Statuszeile ruiniert nospam_2021@efbe.prima.de - 2021-08-26 20:37 +0200
Re: [VIM] Statuszeile ruiniert Andreas Kohlbach <ank@spamfence.net> - 2021-08-26 20:13 -0400
csiph-web