[vim/vim] netrw doesn't recognize `~`, `/`, or `\` as valid path in Windows (Issue #20003)

1 view
Skip to first unread message

Tom Vamvanij

unread,
6:40 AM (4 hours ago) 6:40 AM
to vim/vim, Subscribed
tomvam created an issue (vim/vim#20003)

Steps to reproduce

  1. Run Vim
  2. :Ex ~ or :Ex ~\some\path\ or :Ex ~/some/path. Press tab while typing to see that wildmenu, if applicable, does recognize the path (wildmenu will automatically replace / with \ on windows). Replace ~ with / or \ to see that those also don't work.
  3. Nothing seems to happen. netrw doesn't load, but there's no error message. If :Sex or :Vex is used instead, a split will be effected, but with the original buffer in the new window, as if by :sp or :vs.

Expected behaviour

netrw should load and point at the specified path.

Version of Vim

Environment

Windows. (I have another copy of Vim 9.1. that was shipped w/ Git for Windows, and that one works as expected.)

Logs and stack traces


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20003@github.com>

Reply all
Reply to author
Forward
0 new messages