0

I was wondering if the statusline between horizontal splits can be removed. Maybe it can be replaced by command line?

  • 1
    not possible. As soon as you have several windows, you won't be able to remove the statusline. You can make it invisible, by setting it to empty and using the Normal highlighting group, but you won't be able to remove it completely. – Christian Brabandt Mar 29 '18 at 9:28
  • I thought so. Doesn't matter. Stupid idea anyway. – klaus Mar 29 '18 at 10:21
2

You can not remove the statusline, if you have more than two horizontal splits, But you can change the highlight of statusline, just make it same as your normal content.

for example:

let &statusline='%#Normal# '

here is my vim screenshort, and it have two splits, vim file on the top, and markdown is below.

enter image description here

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.