On 05/11/08 21:55, Tim Chase wrote: >> 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. -- "I used to get high on life but lately I've built up a resistance." --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
