Bug#474980: Netrw's handling of symlinked directories

drchip at campbellfamily.biz drchip at campbellfamily.biz
Mon May 5 15:19:10 UTC 2008


Hello!

I've been gone for a week; sorry I couldn't reply earlier.

Vim doesn't provide a function that returns whether or not a file is itself a
symbolic link; so netrw uses the resolve() function and compares the result to
the filename as returned by fnamemodify():

  fnamemodify(filename,"") != resolve(filename)

As shown by your post, evidently this is inadequate.  I've made a modification
that hopefully will do better... please try netrw v125g, available from my
website as:  http://mysite.verizon.net/astronaut/vim/index.html#NETRW .

Thank you for the feedback!
Chip Campbell










More information about the pkg-vim-maintainers mailing list