Hi A.J.Mechelynck, you wrote:

> 
> When specifying just a file name, with no wildcards and no completion, I
> would expect Vim to edit the file if it exists, regardless of any
> 'wildignore' setting. For instance if I want to salvage a previous version
> of a file from a backup: Let's say 'wildignore' is set to "~,.bak"; then 
> ":args 
> foobar.*" or ":e foobar.<Tab>" should ignore foobar.bak but IMO ":e
> foobar.bak" shouldn't. Similarly on the command-line: gvim foobar.* should 
> ignore it
> but gvim foobar.bak should edit it, regardless of whether
> "--remote-tab-silent" is on the command line or not.
> 

I agree wtih this. One thing which is tricky is

> Similarly on the command-line: gvim foobar.* should ignore it

I believe the expansion will be done by command shell and doesn't know anything 
about 'wildignore' so Vim will get just list of files.

-- 
Alexei Alexandrov

Reply via email to