based on this, this and this questions I have tried to build a status bar with a dynamic part (line number, file name etc.) and a static part. (I am old and can't remember the useful shortcut all the time ;-) )
less -P'slines %lt-%lb (%Pt-%Pb \%) bytes %bt-%bb file %f | /=search forward; &=search back; G=goto end; gg=goto top; F=follow'
I have two questions:
- is it possible to colorize only part of the status line ? I want to separate the dynamic part from the static part.
- is it possible to expand the status bar to whole width of the terminal window ? It looks a little bit ugly when the status bar stops in the middle of the terminal window.