It seems that the QuickFix window is created on the bottom of the upmost right vertical split.

If I start with two splits:

two buffer splits

When I open the QuickFix window (:copen) the QuickFix windows is created as a horizontal split of the second vertical split:

two buffer split and the QuickFix

I would like that it opens at the bottom of the vertical splits:

QuickFix at the bottom

Is there a way to configure Vim to have such behavior?

  • 1
    This annoyed me to know end. And I kept (still do) forgetting to add bot to :cw. Need to add a mapping I guess (but I am too used to :cw after five years!).
    – 3N4N
    Sep 30, 2022 at 7:55

2 Answers 2

bot copen

Don't have anything to add to it.


From: https://stackoverflow.com/a/6728687

Quickfix window will automatically open in the bottom.

:autocmd FileType qf wincmd J

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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