开发者

Vim start-up extremely slow under Cygwin when fugitive.vim plugin is installed

I've just started running Vim under cygwin via puttycyg. I find this much better than gVim under windows ;)

Anyway, the fugitive.vim plugin causes Vim to take 15-20 seconds to startup. 开发者_如何学编程After Vim has started, everything seems normal. I can use fugitive.vim as normal from that point on.

What could be the cause of this slowness? Something to do with cygwin I bet... Any ideas?


Git in general in cygwin seems to be slow. The bashrc settings that modify my prompt based on git status is lightning fast on OSX and Linux, and takes about a half-second or longer on Cygwin's bash. Other git operations are similarly slow by comparison on Cygwin. I suspect the underlying library that fugitive uses.


I had the same issue and after trying everything people suggested, I re-installed my cygwin packages/tools and vim is now very fast.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜