commit 1e07d90eb890f92ae06481234d7936ac6dc1de70
parent e47a5e85e970d8bb3e0d367ec18d82005d92905e
Author: hhvn <dev@hhvn.uk>
Date: Sat, 21 Aug 2021 03:35:15 +0100
.c/n/m/statusline.vim: display position for inactive windows
Only the # total lines matters, however I think including all numbers on
active windows, and the consistency that comes from that, makes reading
it easier.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.config/nvim/modules/statusline.vim b/.config/nvim/modules/statusline.vim
@@ -80,6 +80,9 @@ function! Inactivestatus()
""File
let g:s.="%#Basecol#"
let g:s.=" %f\ -\ %y%m"
+ let g:s.="%="
+ ""Position
+ let g:s.=" %l/%L,\ %c "
return g:s
endfunction