Sunday, March 7, 2010

Re: netrw can't expand '~' correctly when do gx in windows

Wu, Yue 写道:
> As title, I've set $HOME in my .vimrc, but when I try to open the file under
> cursor on the line such as '~/doc/foo.pdf', vim can't run the app with the
> file with correct path, apps on windows usually don't support the '~' in path
> name, so I guess vim on windows doesn't expand '~' correctly.
>

AFAIK, Vim by default see '~' as %HOME% in windows. but the script does
not know that, so the script owner should take care of ~ themselves.

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