How to use GVIM to edit a remote file?

前端 未结 10 1693
日久生厌
日久生厌 2021-01-30 03:47

I use GVIM on Ubuntu 9.10. I\'m looking for the right way to configure GVIM to be able to edit remote files (HTML, PHP, CSS) by for exemple ftp.

  • When i use :e scp:
10条回答
  •  情深已故
    2021-01-30 04:10

    In order for netrw to work seamlessly, I believe you need to not be in compatibility mode.

    Try

    :set nocompatible

    then

    :edit scp://host/path/to/file

提交回复
热议问题