By default vim shows the filename of the current buffer (or whatever status line you have specified) at the bottom of each split window. Is there any way to change it so that it displays at the top of each window instead?

  • 2
    no, not possible, if you want to have the statusline displayed at the top. you might be able to add something to the tabline, but the statusline will always be at the bottom – Christian Brabandt Nov 12 '20 at 8:34

You can set the title at the top of the window in a similar way to the statusline. For example:

set title titlestring=%F

See :help titlestring.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.