Damon Timm wrote:
*if this came through twice I apologize, got an error message the
first time.*
Hi,
I am a new user of VIM -- have it installed now on my Mac, PC, and
Linux box (Ubuntu). On the linux system am having some trouble and
wondered if you might be able to help:
If I want to open a file with VIM, I typically right-click on the
document (say: index.html), and select GVIM Editor -- this opens the
document. However, if I am browsing my documents on a remote server
(through an SFTP connection or plain FTP), this no longer works. If I
right-click, select open with GVIM, I get a blank document. If I
select "gedit" from the right-click menu the document opens without a
problem (so it is not my connection).
Only GVIM won't open it.
Of course: I can select the document, copy it to my desktop, then open
it that way, but I would really like to save that step -- since I am
often editing things from my other linux server where my files are
stored.
How are you browsing documents on your remote server? Using
vim/gvim's netrw and using:
ftp://hostname/path/
will open a directory listing on the remote host. Clicking on a filename
should open the file for editing. (please note that trailing slash).
Vim and gvim support the use of urls to files via the netrw plugin:
ftp://hostname/path/to/file
scp://hostname/path/to/file
If you're using some other browser that attempts to bring gvim up with
the name of the remote file, exactly what does that name look like;
presumably
its not in the url format.
Regards,
Chip Campbell