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:

  1. is it possible to colorize only part of the status line ? I want to separate the dynamic part from the static part.
  2. 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.