开发者

gVim in Ubuntu is slow when switching tabs or navigating lines

It's been like this 开发者_如何学Goforever really. Because I worked both on Ubuntu and Mac OS X interchangeably I didn't care as much. Now I think maybe it's time to finally find out what is wrong with it.

THE PROBLEM: When I switch tabs or navigate the lines with arrows or J, K keys and when I do it repeatedly (as if when trying to find the right tab holding Ctrl and hitting Tab) it seems to be delaying the action. When I stop hitting the keys gVim may still be finishing the operations (for instance, I stop hitting Ctrl+Tab, gVim may switch 5 more tabs - the number depends on how long I've been hitting Ctrl+Tab - before it stops).

MacVim with similar settings in .vimrc works just fine. The delays are present both when Compiz is turned off and turned on. Any ideas?


I have experienced similar sluggishness when working with large files. I've found that folded blocks makes it worse, so try and open all folds - zR.


This is a know bug in Ubuntu. Until it is patched in the official repositories, you can use this PPA repository, which contains a fixed version of Vim. I just tried it and it fixes the issue.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜