GVIM hangs when saving through GVFS' FTP

Posted by Lie Ryan on Super User See other posts from Super User or by Lie Ryan
Published on 2011-05-08T15:09:48Z Indexed on 2011/06/29 0:24 UTC
Read the original article Hit count: 276

Filed under:
|
|
|

I loved Gnome's Nautilus and FTP integration and being able to mount a remote FTP directory as a regular bookmark/directory, and double clicking any remote files to open in any unmodified program. I also loved editing text files with GVim.

However, if I double clicked file on Nautilus to open a text file in Gvim, then saving a file will take about 10 seconds and GVim will hang for that amount of time. The major irritant is that I cannot continue editing while the text editor is waiting for the write to finish, this delay interrupted my workflow and thought process and saving becomes a painful process. The other problem is that I don't think simply uploading a file should take that much time.

I'm aware of GVim's internal FTP support, but they are not as well integrated with Nautilus's FTP.

So a few question:

  1. Is there a way to make GVim or GVFS to save in background while I continue editing?
  2. Why is GVFS so slow? Is there any way to set GVFS to use a single persistent FTP connection instead of creating a new FTP connection each time?

I'm on Gentoo Linux x86-64.

© Super User or respective owner

Related posts about linux

Related posts about ftp