Saturday, May 21, 2011

Re: Should isfname contain a colon by default on Windows?

On 05/21/2011 05:47 AM, John wrote:
> On Windows XP, when I try to edit a filename in Windows
> Explorer and insert a colon into the name, Windows pops up a
> box saying that it is an illegal character in a filename.
> However according to the manual, the default setting of
> isfname for Windows contains a colon - ie it is
>
> default for MS-DOS, Win32 and OS/2:
> "@,48-57,/,\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,="
>
> Is this correct?

The reason is to allow things like "gf" to pick up drive letters:

x:\path\to\file.txt

-tim


--
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

No comments: