Project script
Hi all: I started using the Project script http://www.vim.org/scripts/script.php?script_id=69. Apparently, it cannot gather files recursively in subdirectories, for example: project/a/test.tex project/b/c/abc.tex project/d/e/xyz.tex I would like to have all *.tex files listed in Project, something like that: Projects=/home/user/project filter=*.tex flags=??? { test.tex abc.tex xyz.tex } Furthermore, whenever I add another .tex file somewhere in project/ or any of its subdirectories I would like to have it updated. Did I overlook something or is the not possible? Would there be an easy workaround? Claus
Re: Project script
Claus Atzenbeck wrote: Hi all: I started using the Project script http://www.vim.org/scripts/script.php?script_id=69. Apparently, it cannot gather files recursively in subdirectories, for example: project/a/test.tex project/b/c/abc.tex project/d/e/xyz.tex I would like to have all *.tex files listed in Project, something like that: Projects=/home/user/project filter=*.tex flags=??? { test.tex abc.tex xyz.tex } Furthermore, whenever I add another .tex file somewhere in project/ or any of its subdirectories I would like to have it updated. Did I overlook something or is the not possible? Would there be an easy workaround? Claus I don't know about that script, but Vim has the special ** wildcard to recurse into directories. See :help starstar :help starstar-wildcard Best regards, Tony. -- The Good Ship Enterprise (to the tune of The Good Ship Lollipop) On the good ship Enterprise Every week there's a new surprise Where the Romulans lurk And the Klingons often go berserk. Yes, the good ship Enterprise There's excitement anywhere it flies Where Tribbles play And Nurse Chapel never gets her way. See Captain Kirk standing on the bridge, Mr. Spock is at his side. The weekly menace, ooh-ooh It gets fried, scattered far and wide. It's the good ship Enterprise Heading out where danger lies And you live in dread If you're wearing a shirt that's red. -- Doris Robin and Karen Trimble of The L.A. Filkharmonics
Re: Project script
Hi Claus, claus Atzenbeck schrieb: I started using the Project script http://www.vim.org/scripts/script.php?script_id=69. Apparently, it cannot gather files recursively in subdirectories, for example: project/a/test.tex project/b/c/abc.tex project/d/e/xyz.tex In the project window you can use \c to generate a new project fold. It will ask you a few things an generate it for you. In your case you may want to use \C which works recursively. Furthermore, whenever I add another .tex file somewhere in project/ or any of its subdirectories I would like to have it updated. In the directory fold press \r. Again \R works recursively, so you can also press \R in the top level of the project. See also :help project.txt Regards, Mika
Re: Project script
On Fri, 23 Mar 2007, Mika Fischer wrote: In the project window you can use \c to generate a new project fold. It will ask you a few things an generate it for you. In your case you may want to use \C which works recursively. Furthermore, whenever I add another .tex file somewhere in project/ or any of its subdirectories I would like to have it updated. In the directory fold press \r. Again \R works recursively, so you can also press \R in the top level of the project. Thanks for your mail. \C works perfectly, however \R seems not to add recently created subdirectories. Is there a way to update a Project entry as if I would create a new entry with \C? Claus
Re: Project script
Hi Claus, * Claus Atzenbeck [EMAIL PROTECTED] [2007-03-23 13:20]: Thanks for your mail. \C works perfectly, however \R seems not to add recently created subdirectories. That's true. Is there a way to update a Project entry as if I would create a new entry with \C? Not that I know of. I tend to just create the new fold manually since it doesn't happen too often... I think the Project script is still maintained by Aric Blumer. I don't know if he reads this list, but it might be nice to ask him about it. Maybe he'll implement it... Regards, Mika
Re: Project script
On 3/23/07, Mika Fischer [EMAIL PROTECTED] wrote: Hi Claus, * Claus Atzenbeck [EMAIL PROTECTED] [2007-03-23 13:20]: Thanks for your mail. \C works perfectly, however \R seems not to add recently created subdirectories. That's true. Is there a way to update a Project entry as if I would create a new entry with \C? Not that I know of. I tend to just create the new fold manually since it doesn't happen too often... I think the Project script is still maintained by Aric Blumer. I don't know if he reads this list, but it might be nice to ask him about it. Maybe he'll implement it... Regards, Mika He certainly responds to emails about bugfixes and did so for me just a few months ago, so it's worth a shot to email him. -- -fREW