Ben Schmidt wrote:
>> Maybe expand it only if the file name starts with tilde + path separator? 
>> (IIRC, ~user is not expanded on Windows).
> 
> Though it could be handy if it were in a few circumstances.
> 
> Don't know how easy or otherwise it would be to implement it, though.

The only thing that requires a little care (IIUC) is to make sure that if the 
tilde is followed by a backslash, the latter is a "true" backslash and not an 
"escaper" backslash for something else than a backslash: in ~\foo, ~ means 
$HOME while in ~\ foo it doesn't, and the filename is "~ foo". But maybe I'm 
overcomplexifying.

> 
> And it'd probably be different for Cygwin and native Windows, etc.

Vim-for-Cygwin is a Unix-like build, the shell handles the tilde. This thread 
is only busy with native-window at this point.

> 
> Ben.


Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
20. When looking at a pageful of someone else's links, you notice all of them
     are already highlighted in purple.

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

Raspunde prin e-mail lui