I know if i have a horizontal pane at the bottom I can write something like

copen 50

and make it taller. How can i make a vertical pane wider?

enter image description here

  • 1
    Hey abbood, I've deleted your comment, but I wanted to let you (a) we work very hard to foster a kind and friendly environment on Vi and Vim, and (b) you're welcome to ask why the -1, here or on meta—just remember no one is obligated to justify their voting. It also is not a comment on you or your expertise.
    – D. Ben Knoble
    Commented Jul 19, 2020 at 1:42

1 Answer 1


In the Vim vocabulary what you call a "pane" is actually a "window" and the window you want to resize has nothing particular so :h window-resize should give you all you need, especially:

CTRL-W >    Increase current window width by N (default 1).

So ctrl+w> will increase the window size once and 10ctrl+w> will do the same thing 10 times.

If you need to change the size in a script you want to read :h :wincmd which allows you do to the same thing as the ctrl+w normal commands.

Also :copen probably doesn't do what you think: it opens a window containing the quickfix list. If you want to open a vertical split you probably want :split or ctrl+ws

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.