If I use the command :copen the quickfix buffer will be opened as a horizontal split.

Is there a way (a command) to open it in a vertical split instead?

1 Answer 1


Prefixing your command with :vert modifies it to use a vertical split:

:vert copen
  • 1
    I was going to suggest this too, but found out that this does not work for me. Maybe a Vim bug? It just opens a larger horizontal split for me.
    – akshay
    Mar 16, 2015 at 8:40
  • @Akshay Works for me in Vim 7.3. Mar 16, 2015 at 8:42
  • 1
    Oh, seems to work if I do vim -Nu NONE. Nevermind ;). EDIT: Ah it was because I always set the quickfix window to open at the bottom with wincmd J
    – akshay
    Mar 16, 2015 at 8:46

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .