> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Andy Wokula
> Sent: Thursday, January 29, 2009 2:09 PM
> To: [email protected]
> Subject: Re: Possible bug with :b completion on Windows
> 
> 
> Henrik Öhman schrieb:
> > Scenario:
> >
> > mkdir src && mkdir src/sub
> > touch src/foo.c src/foo.h src/sub/foo.c src/sub/foo.h
> > vim -u NONE -N -c "args src/**/*.[ch]" -c "set wildmode=longest"
> >
> > On Linux (tested with 7.1.138) and Cygwin (tested with 7.2), these
> > commands complete successfully:
> >
> > :b src<Tab>s<Tab>      => :b src/sub/foo.
> > :b src/s<Tab>          => :b src/sub/foo.
> > :b src/sub/foo<Tab>    => :b src/sub/foo.
> 
> On Win32: can achieve this with
>     :set shellslash
> 
> Though backslashes must still be avoided.

Using 'shellslash', completion works as I'd expect. Thanks. 

I would prefer not to have to set 'shellslash' though, and I see no reason why 
it shouldn't also work with 'noshellslash'. If there is a reason for why it 
shouldn't work, I think it should be documented. I couldn't find anything about 
it in :h :buffer, :h cmdline-completion or :h 'shellslash. 

Henrik.


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

Raspunde prin e-mail lui