GVIM hangs when saving through GVFS' FTP
- by Lie Ryan
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:
Is there a way to make GVim or GVFS to save in background while I continue editing?
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.