There is a autocmd Event of QuickFix
They are "QuickFixCmdPre” and "QuickFixCmdPost"

I think you could do something at there event .
However , maybe there is not a simple way to do what you want ,
and , you may have to  write some vim function for this.


2009/10/12 David Chanters <[email protected]>:
>
> hi all,
>
> i had a look through the vim tips wiki to see if I can do the
> following with the quickfix window, but didn't see anything relevant
> -- but if I have missed it, do please point me there.
>
> I do a lot of C programming.  What I would like is the following to
> happen -- a way of binding "make!" to a key-binding that toggles the
> quickfix window, opening it if there's an errors, and closing it if
> there are not.
>
> Is this possible? At the moment, the quickfix window seems to stick
> around with compiler warnings and/or any output from make, and that's
> not quite what I am after.
>
> Any tips welcome!
>
> David
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to