2

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

abbood
  • 733
  • 9
  • 23
  • 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.se], 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 Jul 19 '20 at 01:42

1 Answers1

4

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_>*
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

statox
  • 49,782
  • 19
  • 148
  • 225