Try below:
C:\temp>grep Matsumoto c:/vim/src/*.c > list
C:\temp>vim list
And you can see:
c:/vim/src/gui_w48.c:1228: * forcedly redrawn. (Yasuhiro Matsumoto) */
c:/vim/src/gui_w48.c:1925: /* added for non-MS IME (Yasuhiro Matsumoto) */
Then, type gf or gF on left side at first line. As you know, isfname contains ":" on windows. So vim occur "E447: Can't find file ...".
(NOTE: don't say "you can do it with :cfile", this is a problem about gf/gF)
This is not useful. I wrote a patch for this problem.
https://gist.github.com/mattn/9388140
I tested below:
http://www.google.com/ => HTML content(OK)
http:/ssdfsdf => E447 Can't find file "http:/ssdfsdf" (OK)
http:/ssdfsdf/ => E447 Can't find file "http:/ssdfsdf/" (OK)
p:/ssdfsdf => E447 Can't find file "p:/ssdfsdf" (OK)
p:/ssdfsdf/ => E447 Can't find file "p:/ssdfsdf/" (OK)
_:/ssdfsdf/ => E447 Can't find file "_:/ssdfsdf/" (OK)
_:ssdfsdf/ => E447 Can't find file "_:ssdfsdf/" (OK)
:ssdfsdf/ => E447 Can't find file ":ssdfsdf/" (OK)
c:/vim/src/gui_w48.c:1228: => Open the file(OK)
c:/vim/src/gui_w48.c:1925: => Open the file(OK)
../../../vim/src/gui_w48.c:1925: => Open the file(OK)
:::foo::: => E447 Can't find file ":::foo:::" (OK)
Please check.
Thanks.
- Yasuhiro Matsumoto
Updated patch: https://gist.github.com/mattn/9388140
(Not modified code, just only add comments)
file://c:path should be worked correctly. The file: URL is passed to netrw,
and netrw open the local paths.
I'm thinking that it don't need to check the file is exists. Do you mean
that the path which contains whitespace?
Thanks.
- Yasuhiro Matsumoto