Wednesday, September 29, 2010

Split windows and spanning width of screen

Hi all,

I'm wondering if it's possible to get a new window created with ":sp" to
span the entire screen width -- specifically quickfix window.

To give some background, if I do this in vim:

:vsplit
:new foo
:new bar
Ctrl-w l
:e baz.c

So that, vim looks like this:

+----------------+
| | |
| foo | baz.c |
|------ | |
| bar | |
+----------------+

If I am currently focused on "baz.c" and type in ":make", the quickfix
window which I could then open would open up underneath baz.c as in:

+----------------+
| | |
| foo | baz.c |
|------ |------- |
| bar |quickfix|
+----------------+

But because, most likely, "foo" and "bar" here also relate to baz.c in some
way, how would I get the quickfix window to open up across those, to it
looks likt his:

+----------------+
| | |
| foo | baz.c |
|------ | |
| bar | |
|----------------|
| quickfix |
+----------------+

Is that possible? Furthermore, is it possible to apply this technique to
other potential :sp windows as well I might want to create?

I've poked around the documentation and not seen anything obvious, but if
there is and I've not seen it, please point me to it!

Kindly,

-- Thomas Adam

--
"Deep in my heart I wish I was wrong. But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment