On cygwin, when I run /bin/ls M* on the command line, it shows one file.
But when I run :e M* from within vim, it shows "E77: Too many file
names".  This is because I have a single file with a name starting with
"M" but I also have files with names starting with "m".  I know that
windows file systems are case-insensitive, but I'm trying to emulate a
unix environment, so I want to be able to turn off this behavior and
have file globbing match in a case-sensitive way.
 
I have not been able to find any setting which will allow this to
happen.  The way I have been able to work-around this is to replace
CASE_INSENSITIVE_FILENAME in src/os_unix.h with some garbage symbol and
then recompile.  
 
Can you add a runtime-settable option of some sort to allow controlling
this behavior?  It's better for this to be runtime-settable rather than
compiled-in to match the behavior of other tools.  For example, shopt
[-s|-u] nocaseglob can toggle the corresponding behavior in bash.
 
Thanks!
John Wiersba


 

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

Raspunde prin e-mail lui