> 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.
It makes sense to be able to change it, too, as although the *default* Windows file systems are case insensitive, it is possible to connect to a Unix share or something which is case sensitive. (At least, I'm pretty sure it's possible...) > 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. Yeah, I think that's the only way to do it at the moment. > 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. I'm not sure how easy this would be, given that it's done by the preprocessor at the moment. It shouldn't be too hard, though, I suppose. I don't know whether Bram would welcome such a change. Do you have the skills to make a patch to do this yourself? I suggest asking Bram if he would consider such a change, and if he would, put together a patch. It'd take a few months to filter into the official Vim sources. Ben. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
