vim 의 네트워크로 리모트 파일 에디팅하기 에러
vim 6.1부터는 소스에 포함된 pi_netrw.txt
문서에도 나와 있듯이
(아래는 문서의 일부)
==============================================================================
1. Network-Oriented File Transfer *netrw-xfer*
Network-oriented file transfer under Vim is implemented by a VimL-based script
(<netrw.vim>) using plugin techniques. It currently supports both reading
and writing across networks using rcp, scp, ftp, or ftp+<.netrc> as
appropriate. http is currently supported read-only.
For rcp, scp, and http, one can use network-oriented file transfer
transparently:
>
vim rcp://machine/path
vim scp://machine/path
<
If your ftp supports <.netrc>, then it too can be just as transparently used
if the needed triad of machine name, user id, and password are present in that
file. Your ftp must be able to use the <.netrc> file on its own, however.
>
vim ftp://machine/path
<
However, ftp will often need to query the user for the userid and
password. The latter will be done "silently"; ie asterisks will show up
instead of the actually-typed-in password. Netrw will retain the userid and
password for subsequent read/writes from the most recent transfer so
subsequent transfers (read/write) to or from that machine will take place
without additional prompting.
Reading Writing Uses~
------------------------ --------------------------- ----------
>
* rcp://machine/path * rcp://machine/path rcp
< :Nread rcp://machine/path :Nwrite rcp://machine/path rcp
>
* scp://machine/path * scp://machine/path scp
< :Nread scp://machine/path :Nwrite scp://machine/path scp (**)
>
* ftp://machine/path * ftp://machine/path ftp
< :Nread ftp://machine/path :Nwrite ftp://machine/path ftp+(***)
:Nread machine path :Nwrite machine path ftp+.netrc
:Nread machine uid pass path :Nwrite machine uid pass path ftp
(for ftp, "machine" may be machine#port if a different port is needed
than the standard ftp port)
>
* http://machine/path wget
< :Nread http://machine/path wget
===============================================
ftp등으로 접속해서 파일 에디팅하는 기능을 지원하는데요
윈도우용 gvim에서는 해보면 에러가 나는것 같네요
제 추측으로는 파일을 네트웍상으로 받아서 로컬에 임시파일로 저장해서
에디팅하는거 같은데 그 임시 파일을 만드는 과정에서 path를 vim이
제대로 해석못해서 생기는거 같은데 해결책을 아시는분 계시나요?
댓글 달기