> 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
Ah, thanks, makes sense. I'm trying to use isfname to validate
filenames for my renamer.vim plugin - guess I'll just have to change
it temporarily while I check the filename without the path.
Cheers,
John
--
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:
Post a Comment