John Beckett wrote:
The problem is that (I think) Vim uses the 'shell' option to
determine what shell to use to run :! commands, and some users
would change that to some quirky shell like 4NT or a host of
others. If netrw checks for 'cmd', it could conceivably fail the
check but 'move' and 'copy'
Charles Campbell wrote:
>> I think it would be best to NOT test when under Windows
>> because there is no reasonable way to do so. If there were a
>> reasonable way for a script to store persistent data, you
>> could consider displaying a message the first time one of the
>> commands is invoked, le
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 t
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
No, as Ben said it would have to be "cmd /
John Beckett wrote:
> letting the user know that netrw will
> use 'move', 'mkdir', 'rmdir' as a default
I mean 'copy', not 'move'.
> I wouldn't bother doing anything about it, but FYI line 3837:
>if executable("start")
I just thought about this and checked. There is no executable
'start', an
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
No, as Ben said it would have to be "cmd /c move" and that's
just
On Monday, April 9, 2012 8:59:48 AM UTC-5, Charles Campbell wrote:
> Hello,
>
> I have a request of a windows person out there (I currently don't have
> access to a windows box).
>
> The latest netrw asks users to consider setting up local commands for
> copy/mkdir/rmdir, but I've been told tha
Hello,
I have a request of a windows person out there (I currently don't have
access to a windows box).
The latest netrw asks users to consider setting up local commands for
copy/mkdir/rmdir, but I've been told that there really aren't any such
commands available under Windows; instead, they