On 08/12/09 21:31, Dennis Benzinger wrote:
> pixelterra wrote:
>> I would love to do something like this:
>>
>> :tabe *.erb
>>
>> And have a tab open for every file. The above obviously doesn't work.
>> Any alternatives? I know that this opens multiple tabs from command
>> line:
>>
>>> vim -p *.erb
>>
>> Ben
>
> Try this:
>
> :for f in split(glob("*.erb"), '\n') | exec "tabe " . f | endfor
>
>
> HTH,
> Dennis Benzinger
>

or, if you don't mind clobbering the argument list:

        :args *.erb
        :tab all

see
        :help :args
        :help :all


Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
223. You set up a web-cam as your home's security system.

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

Reply via email to