> >> Sort of. Check out location lists.
> >>
> >> :help location-list
> >
> > Not entirely wanting to hijack the thread, but it's my 
> first encounter 
> > with Location Lists (I've apparently touched aspects 
> through the use 
> > of helpgrep's quickfix list, but never explored further).  
> I've read 
> > the docs, but it's only an abstract concept until I see 
> what sorts of 
> > things folks use them for.  Are there any good places to read more 
> > about "cool stunts with location lists" (both the "l" and "c" 
> > varieties)?
> >
> > The only things I've seen are lmake/lgrep/lhelpgrep.  
> However reading 
> > the docs, it seems like there are some spiffy tricks that could be 
> > done with this functionality...it's just outside my facility.
> >
> > Thanks,
> >
> > -tim
> 
> It's all in quickfix.txt, of course.
> 
> Location lists are a novelty of Vim 7 IIUC. I don't use them, 
> but I suppose you could understand a location list as a 
> "window-local quickfix list". For instance, you're compiling 
> a program (with a quickfix window, global or local, to check 
> for errors). Then you want to use :helpgrep to check for 
> something in Vim. You may want to use :lhelpgrep instead: it 
> always uses a location list associated to your help window, 
> never to any other window, and it can be viewed in a location 
> window) all the while without clobbering your QF window "for compile".
> 
> Just the first "spiffy trick" I could think of. Maybe the OP 
> (who wanted several QF windows in parallel to begin with) can 
> give you something more relevant.
> 
> 
> Best regards,
> Tony.

My interest in multiple QF windows is simply to view the result
of several different grep's side-by-side, stepping through each
item in each list if desired. As Tony points out I can use the
location list instead of (or in addition to) the global (quickfix)
list. (And yes, as Tony corrected me in the other thread, the
location list is per window, not per tab page.) So to add another
location list window to contain the output of my next :lgrep I
guess I have to first do a :split to create a new window that
I can pin the location list to. -Greg

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

Reply via email to