Tuesday, May 13, 2014

Re: Can't copy or move files with netrw

Federico Panico wrote:
> I hope someone can help with this. The title says it clearly.
>
> In netrw, first I choose the file with mf, then select the target directory (not entering into it) with mt and finally press mm. The move is not successful and this error appears: **error** (netrw) tried using g:netrw_localmovecmd<mv>; it doesn't work!
>
> I'm using linux and g:netrw_localmovecmd is set to mv.
>
That error shows up when executable(g:netrw_localmovecmd) returns a zero.

Presumably, when you're in vim,

:echo executable("mv")

is returning zero. That's an odd thing to have happen under a Linux
system. So, the question is why?

* check your path
* check your shell
* do you have permission to execute?

That should be a beginning, at least.

Regards,
C 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: