On 19/03/09 20:47, Thomas Rowe wrote:
>
> Say I have a file 'SomeFile.txt'.  On windows vim ":e somef<tab>" will
> expand out to SomeFile.txt.  On linux it won't, even though I have
> 'completion-ignore-case on' in my inputrc and bash does case insensitive
> filename tab completion.
>
> How can I make Vim on linux do case insensitive filename tab completion?
>
> Thanks,
> Thomas Rowe

Hmmm... I'm not sure it is possible. It may depend on the underlying 
filesystem rather than on the OS: on FAT and NTFS filesystems, 
somefile.txt and SomeFile.txt both mean SOMEFILE.TXT and changing any of 
them will in effect change all the rest; but on ext2, ext3, reiserfs, 
etc. these names represent three different files which may coexist in a 
single directory.

Try ":e [Ss]ome[Ff]<Tab>" or ":e Some<Tab>". Or even

        :set wildmenu
        :e *.txt<Tab>


Best regards,
Tony.
-- 
Putt's Law:
        Technology is dominated by two types of people:
                Those who understand what they do not manage.
                Those who manage what they do not understand.

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

Reply via email to