Tuesday, April 10, 2012

Re: Issue with netrw copy and move

Bart Baker wrote:
> Thanks for the help Charles.
>
> I actually ended up just hacking the autoload/netrw.vim file and
> surrounding each function call with:
>
> set noshellslash
> *function call*
> set shellslash
>
> While its not pretty, it works like a charm. Also, I got rid of the
> "executable()" condition when attempting to call the MS-DOS commands.
>
> Thanks for your suggestion though. I may try this upgrade down the line.
>
I'm mystified as to why you need to "set noshellslash"; netrw doesn't
set it. Why not put "set nossl" in your .vimrc? Or, why do you need
ssl set, anyway? Just curious.

Hacking it means that subsequent upgrades/changes to netrw will be that
more difficult for you, as you probably know.

I've changed the executable test to be executable("cmd"), since
Windoze doesn't support copy/move/mkdir/rmdir as separate commands.

Regards,
Chip Campbell

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

No comments: