On 4/17/06, Tom Purl <[EMAIL PROTECTED]> wrote: > os - Linux > vim - VIM - Vi IMproved 7.0d02 BETA > ant_menu - 0.5.4 > > I'm a bit of a newbie when it comes to quickfix, so any help you can give > me would be greatly appreciated. > > I'm using vim with the ant_menu plugin, which integrates the Apache Ant > tool with vim. Basically, by using the ,t<target> key combo, I can > execute a build.xml file and have its output redirected to a quickfix > window at the bottom of my screen. So after executing the plugin, the > screen is split into two, with the quickfix screen at the bottom. > > Naturally, if there's a problem uncovered by ant, I would like to close > the quickfix window so I can devote all of my screen to a single vim > window containing my code. The problem is that I can't. If I move the > cursor out of the quickfix window (it's in there by default after > executing ant_menu), then I can't put it back in there. It's as if VI > doesn't know that the quickfix window exists. Please note that I am *not* > asking how to move my cursor from window to window; I know how to do that. > I just can't move it into the quickfix window after moving it out. > > Well, naturally, if I can't navigate to the quickfix window, then I can't > close it. Is this normal for quickfix? Is there some other command that > I should use to navigate to the window? Is there some quickfix-only > command for closing the window?
If you have only one non-quickfix window open, how about :on! command issued while you are in the non-quickfix window ? :on! See :he :only Yakov
