I want to configure the statusbar in vim to show which row I'm on. I have it currently set as
statusline=%l/%L\ (%3p%%)
I want however to do something like the following
statusline=%3l/%3L\ (%3p%%)
The problem is that I don't know how big %L is going to be before hand. Can I somehow do
statusline=%{length of L}l/%L\ (%3p%%)
so that l is always printed with the same size as L?