How to configure Vim by editing ~/.vimrc
or by other way, so that the status bar can be displayed at the top of the window.
What I mean is the bottom information bar, which appears like index.html 22L,538C written 15,3-9 ALL
.
Can't be done ...
I mean, you can download vim's sources, and go from there, but natively, no. Not that I know.
You can put some info in the title, you can read some info from the tabline, but the statusline stays where it is. Sorry :/
The answer: utilize a (static) "tabline".
vim
has tablines (which are located at the top), and a status line (which is located at the bottom), utilize a static tabline for the same functions as the statusline
inside vimrc
:
----- begin cut -------
"turn off status line
"set laststatus=0
set ls=0
set showtabline
set tabline="what status line equals, or equaled or whatever"
"set or change the color of the tabline
hi tablinefill cterm=none ctermbg=blue ctermfg=white gui=none guibg=blue guifg=white
------ end cut -------
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With