John Beckett wrote:
Charles Campbell wrote:
So, how best to make this work?  I was thinking

   if has("win32") || has("win95") || has("win64") || has("win16")
    if executable("cmd")
     let g:netrw_localmovecmd= "cmd move"
    endif
endif

You probably saw the other message that the current Mercurial
Vim source has a broken autoload/netrw.vim (duplicate endif at
line 327). I didn't mention that because I saw it is fixed at
http://www.drchip.org/astronaut/vim/index.html#NETRW

and guessed that Easter had delayed a fix to the repo.
The extra endif doesn't seem to bother my vim (7.3.494), or at least not noticeably (if there was a message it presumably disappeared as the directory listing was displayed), so that's why I didn't catch it myself.

However, I want to get this issue with testing that move/mkdir/rmdir are present fixed. I had a message complaining that move/rmdir/mkdir wasn't working on a Windows box, and I wanted to test for them somehow and issue a note about fixing the issue.

There is a way to suppress such notes now; see :he g:netrw-errorlvl .

Regards,
Chip Campbell

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui