If you use :make! instead (note the !) then the first error will not be opened 
(:help :make)

As for forcing vim to open the file in another window, look at the 'switchbuf' 
option (:help switchbuf). It looks like you probably want switchbuf=split 
(that's what I use!)

Hope that helps,

Max


> -----Original Message-----
> From: Andrea Spadaccini [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 05, 2006 8:18 AM
> To: [email protected]
> Subject: Quickfix in another window
>
> Hello everyone,
> every time I :make and there are errors, vim automatically opens the
> file in which the first error is located, regardless of the file I was
> editing.
>
> Is there a way to force vim to open this file in another window,
> associating the error list to that window (or better, to that TAB)?
>
> Thanks in advance,
>
> --
> [ Andrea Spadaccini - a.k.a. Lupino - from Catania - ICQ #: 91528290 ]
> [ GPG ID: 5D41ABF0 - key on keyservers - Gentoo GNU / Linux - 2.6.16 ]
> [ Linux Registered User 313388 - @: a.spadaccini(at)catania.linux.it ]

Reply via email to