80921Re: Problems with netrw directory listing
- Jun 4, 2007On 2007-06-04, Charles E Campbell Jr <drchip@...> wrote:
> Gary Johnson wrote:It works for me with Cygwin and with native Windows on XP. Thanks!
> > On 2007-06-03, Seth Mason <seth@...> wrote:
> >> It seems like the spaces in the directory name is causing problems.
> >> If I open a file in the directory and then use ':cd %:h' everything
> >> works fine so it seems like the problem is not with vim(?).
> >> Any help or direction to go from here would be greatly appreciated.
> > I see the problem. I believe it is a bug in autoload/netrw.vim (at line
> > 1593 in version 109) in the definition of the c command:
> > nnoremap <buffer> <silent> c :exe "cd ".b:netrw_curdir<cr>
> > Any spaces in b:netrw_curdir are not escaped and the directory name is not
> > in quotes, so the cd command sees any spaces as separators.
> Please try netrw v110g available from my website:
> I've tested the fix under Linux; please try it out under XP.
Gary Johnson | Agilent Technologies
garyjohn@... | Mobile Broadband Division
| Spokane, Washington, USA
- << Previous post in topic