Is there any way to make the status line in Vim spanning across multiple lines (e.g. inserting a newline character or something similar)?
I'd like to have full path (%F
) to the opened file in one line and some other info in next one because I'm frequently opening files within long paths and the full path "expands" over the whole status line, hiding all other indicators and flags. On the other hand I still want to see the full path to the current file.
I know I can set the upper limit on the width of the full path, e.g. %.40F
, I just want to know if there is some other way for this.
No, sorry. Statuslines cannot span over multiple lines.
You seem to know your way around statuslines, so I'll skip that part. One possible solution would be to put the filepath+filename in let's say, title, if you're on windows.