Hi Shagen!
On So, 22 Nov 2009, Shagen Ogandzhanjan wrote:
> The task is to fetch all files matching pattern (for instance, matching some
> file extension)
> and to place all into the quickfix list (or location list, I don't mind).
>
> The only way personally I know is to write something like this:
> *:vim /\%1l/j **/*.xml*
How about
:cexpr glob("**/*.txt")
See the help for :cexpr. You can also use :lgetexpr and use the location
list instead or use :cad to add the result to the quickfix list.
Mit freundlichen Grüßen
Christian
--
Richter: "Wann haben Sie denn gemerkt, daß das Grundstück bewacht war?
Angeklagter: "Als ich die Zähne von dem Dobermann in meinem Hintern
spürte!"
Darauf wendet sich der Richter an den Zeugen und fragt: "Stimmt das,
Herr Dobermann?"
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---