安装了 fugitive.vim 插件后,Vim 在 Cygwin 下启动非常慢
我刚刚开始通过 puttycyg 在 cygwin 下运行 Vim。我发现这比 Windows 下的 gVim 好得多;)
无论如何,fugitive.vim 插件导致 Vim 需要 15-20 秒才能启动。 Vim 启动后,一切看起来都很正常。从那时起我就可以正常使用 fugitive.vim 了。
造成这种缓慢的原因可能是什么?我打赌与 cygwin 有关...有什么想法吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一般而言,Cygwin中的Git似乎很慢。根据GIT状态修改我的提示的BASHRC设置是在OSX和Linux上快速闪电,并且在Cygwin的Bash上花费了大约半秒或更长的时间。与Cygwin相比,其他GIT操作也同样缓慢。我怀疑逃犯使用的基础库。
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.
我遇到了同样的问题,在尝试了人们建议的所有内容后,我重新安装了我的 cygwin 软件包/工具,vim 现在非常快。
I had the same issue and after trying everything people suggested, I re-installed my cygwin packages/tools and vim is now very fast.