pixelterra schrieb:
>> :com! -nargs=+ Tabe :tab all
>>
>> and then you can use :Tabe *.erb
>
> Oo. This looks promising! Could you unpack the :com line for me? What
> does that do exactly. Should that go in my .vimrc?
It won't work yet. Maybe this is better:
com! -bang -nargs=+ -complete=file TabArgs args<bang> <args>|tab all|argd *
You can put it in your vimrc, yes.
Example
:TabArgs *.erb
executes
args *.erb
tab all
argd *
"argd *" assumes that the actual argument list is not wanted.
You can press <Tab> after :TabArgs to complete file name arguments.
--
Andy
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php