开发者

Vim is slow when editing files over samba

开发者 https://www.devze.com 2023-02-05 16:23 出处:网络
I have a windows host running ubuntu in vmware.I set up ubuntu to export a samba share so that I could use gvim on windows.When editing files over this connec开发者_如何学运维tion visual mode gets rea

I have a windows host running ubuntu in vmware. I set up ubuntu to export a samba share so that I could use gvim on windows. When editing files over this connec开发者_如何学运维tion visual mode gets really slow. I have also noticed bufexplorer gets slow during this time too. Neither of these are slow when I am editing files on the windows host.

What can I do to improve performance?


The first thing I would try is setting the directory option (see :help directory) to a local directory. That way all the swap file operations won't go over the network.

0

精彩评论

暂无评论...
验证码 换一张
取 消