Wednesday, April 1, 2020

Re: Vim saves file with lowercase filename

Hi Tony,

Thank you for your answer. 

I know it is the same but, for human readable reason, I want to keep camelCase notation fileName I had before saving this file with Vim.

It is not OS windows 64 bits enterprise last update that is in cause, but really Vim because when I save the same file with notepad++, this does not modify the camelCase notation of filename.

So it is certainly an option, not of the OS but of Vim. I see that filencoding talked about lowercase depending on which encoding you choose.. but not really got fix for this problem for instant.

Best regards
NiVa

Le mer. 1 avr. 2020 à 14:05, Tony Mechelynck <antoine.mechelynck@gmail.com> a écrit :
On Wed, Apr 1, 2020 at 1:48 PM Ni Va <nivaemail@gmail.com> wrote:
>
> fileencoding and encoding are set to utf-8
>
> Le mercredi 1 avril 2020 13:40:07 UTC+2, Ni Va a écrit :
>>
>> Hi,
>>
>> My GVim 8.2.488 32bits under Windows 10 is saving file with filenames in lowercase.
>>
>> Redirecting a buffer of mapping and others plugins, I don't see why it does that.
>>
>> Thank you for help
>> NiVa
>>
IIRC, on Windows (unlike on Unix) filenames are caseless:
FILENAME.TXT, filename.txt, FiLeNaMe.TxT etc., if they are in the same
directory, all are one and the same file. (On Unix they would be three
different files.) I think Windows "normalizes" the case, at least in
some cases. Which Windows version? There may or may not be an option
for that in your Windows system settings.

Best regards,
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/6gnlKECCDtM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXsBS2B1Q%3DdDzBpXopqX_yBjxkaa%2BDy3-TnLfVP%3DU5emDg%40mail.gmail.com.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOKxv4GcUHg7mDOYqX%3DqGU5rKKb4gBkFBqXhvLXp3kpRS-Wseg%40mail.gmail.com.

No comments:

Post a Comment