Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 990
asgeo1 Avatar asked Sep 16 '11 02:09

asgeo1


1 Answers

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.

like image 165
bloy Avatar answered Nov 11 '22 06:11

bloy