Loading ...
Sorry, an error occurred while loading the content.

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

Expand Messages
  • pansz
    ... 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
    Message 1 of 5 , Mar 7, 2010
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.