On 2018-09-07, Christian Brabandt wrote:
> This cannot possibly work. The * will be expanded by your shell and Vim does
> not even see it (unless there is no .cpp file in your current directory, in
> which case Vim will see the * name. Also, if there are several files matching,
> this will call vim -o scp://hostname/foobar.cpp foobar1.cpp so the rest of the
> files would be taken from the current directory.
I don't understand why you say that this cannot possibly work. It
seems to me to be just a limitation of netrw that scp works with
only one file.
I just tried the following command:
scp hostname:*.txt .
and it successfully copied all the *.txt files in my home directory
on hostname to the current directory on the local machine. If netrw
handles a command such as the OP's
vim -o scp://hostname/*.cpp
differently, that seems like a limitation of netrw--albeit perhaps
a reasonable one--rather than something that cannot work.
Regards,
Gary
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.