Thursday, March 4, 2010

Re: Vim with ssh

On Mar 4, 5:14 am, Dan Wierenga <dwiere...@gmail.com> wrote:
> On Tue, Mar 2, 2010 at 9:50 PM, mikeyao <yaoweiz...@gmail.com> wrote:
> > I tried netrw and putty, but it didn;t work.
>
> I never got putty to work (putty's not really meant for that...), but
> I did with netrw and pscp.  I renamed pscp.exe to scp.exe (making sure
> it's in the path) and it worked fine.  There are tips on the wiki on
> setting variables in your vimrc to tell netrw what executable you want
> to use for a given protocol, if you don't want to rename the
> executable.
>
> I ended up preferring WinSCP with it configured it to use gvim as my
> text editor.  You might look into that as well.

Yes, i opened single file via scp. The direcotory still can't be
opened.
The error messages:
Error detected while processing function
netrw#Nread..netrw#NetRead..<SNR>35_Net
rwBrowse..<SNR>35_NetrwGetBuffer..<SNR>35_NetrwListSettings:
line 6:
E303: Unable to open swap file for "scp:\\mikeyao@192.168.1.102\htdocs
\", recove
ry impossible
"scp:\\mikeyao@192.168.1.102\htdocs\" --No lines in buffer--
Error detected while processing function
netrw#Nread..netrw#NetRead..<SNR>35_Net
rwBrowse..<SNR>35_PerformListing..<SNR>35_NetrwRemoteListing..netrw#ErrorMsg:
line 35:
E303: Unable to open swap file for "NetrwMessage", recovery impossible
"NetrwMessage" --No lines in buffer--
Error detected while processing function
netrw#Nread..netrw#NetRead..<SNR>35_Net
rwBrowse..<SNR>35_PerformListing:
line 118:
E121: Undefined variable: w:netrw_bannercnt
E15: Invalid expression: !g:netrw_banner || line("$") >=
w:netrw_bannercnt
Error detected while processing function
netrw#Nread..netrw#NetRead..<SNR>35_Net
rwBrowse..<SNR>35_PerformListing..<SNR>35_NetrwWideListing:
line 2:
E121: Undefined variable: w:netrw_liststyle
E15: Invalid expression: w:netrw_liststyle == s:WIDELIST
Error detected while processing function
netrw#Nread..netrw#NetRead..<SNR>35_Net
rwBrowse..<SNR>35_PerformListing..<SNR>35_NetrwTreeListing:
line 1:

then i press 'enter', another message:
**error** (netrw) ssh is not executable on your system

--
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: