On Tue, 2006-05-30 at 16:36:23 -0500, Jared sent: >hmm... I just realized that I was trying this on 6.3. The only >copy of Vim 7 I have available is on my Windows box, but of >course there is no sftp command. I do have pftp from PuTTY, >however. I can I change the command that netrw uses? I see >from the docs that it's saved in the g:netrw_sftp_cmd variable, >but I can't figure out how to change it. >
This should work on v6.3:
"""" 20060318 using PSCP on Windows. N.B: Works best with
Pageant. {{{ if ($OS =~"Windows") let
g:netrw_scp_cmd="\"c:\\Program Files\\PuTTY\\pscp.exe\" -q"
"""" Now with added SFTP:
let g:netrw_sftp_cmd="\"c:\\Program Files\\PuTTY\\psftp.exe\"
" endif """"}}}
I don't have access to an sftp server to test it, but the scp
line works.
I hope this helps;
--paj
--
Pete Johns <http://johnsy.com/>
Tel/Fax numbers and IM information <http://johnsy.com/contact/>
Yet Another Blog Entry <http://johnsy.com/20060525103459>
pgppWEeDyqB4E.pgp
Description: PGP signature
