Loading ...
Sorry, an error occurred while loading the content.

RE: Case sensitive :write

Expand Messages
  • John Beckett
    ... This is a feature of Windows. You can try this at command prompt (no Vim running): echo 111111 juNK.txt dir junk.txt echo 222222 Junk.txt dir junk.txt
    Message 1 of 4 , Nov 30, 2008
    • 0 Attachment
      bgold12 wrote:
      > Hey, I've just discovered that vim doesn't retain the case of
      > the filename you provide as the argument to the :write
      > command if there's a filename by the same name but different
      > case in the folder you're saving to, or if you're writing a
      > file that's already has the same name but different case as
      > the one you're saving.

      This is a feature of Windows. You can try this at command prompt (no Vim running):

      echo 111111 > juNK.txt
      dir junk.txt
      echo 222222 > Junk.txt
      dir junk.txt

      The second dir is the same as the first.

      John


      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.