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. Commented Mar 29, 2018 at 9:28

1 Answer 1


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 and acknowledge you have read our privacy policy.

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