Wayne Topa wrote:
> zhengquan zhang([EMAIL PROTECTED]) is reported to have said:
>> Hello:
>> I can :e *doc* in vim, pressing tab and it can help me find the document I
>> need,
>> but in bash if I use vi *doc* and press tab, nothing would happen, it can
>> not find the file I want to edit
>> Is there any switches to make it possible?
>> Thank you.

>> zhang

> I am running testing with vim 7.0-122+1. 

> ls WiFi
> ./  ../  Dlink_DWL-G520  Linksys_wireless  Lucent-WavLan-Gold
> MAC_addr  Netgear_WPN311

> vim WiFi/WA<tab>
> yields
> vim WiFi/MAC_addr

    But that's not what he's asking for.  He's asking for *foo*, note the
double stars.  So a better example would be:

vim WiFi/*Wav* <Tab>

    turning into...

vim WiFi/Lucent-WavLan-Gold




-- 
         Steve C. Lamb         | But who decides what they dream?
       PGP Key: 8B6E99C5       |   And dream I do...
-------------------------------+---------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to