Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I use vim in gnome-terminal and have noticed that when holding down J or K to scroll multiple lines, the drawing of the screen seems to have a bit of trouble keeping up.

Vim will scroll 1-2 lines, then there will be a very short delay (probably measured in milliseconds) but it still makes the scrolling seem very jerky.

Is there anything that can be done to prevent this. You would think in this millennium our computers would at least be able to display text smoothly.

share|improve this question

closed as off topic by Bruno Pereira Feb 18 '12 at 1:15

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

I suppose you are comparing this with a TTY? –  daithib8 Apr 13 '11 at 11:20
Well I had a "general text editor" in mind when making the comparison. Just tried opening a long file in gvim and hold down j to scroll down, the lines just keep flying by. There is a very small jerkiness even in gvim, but it's MUCH less noticeable. –  Sam Apr 13 '11 at 12:12
I have the same problem, too. When opening a file in gvim, multiple line scrolling by pressing and holding j or k works smoothly. But when doing the same in vim in a console (gnome-terminal or guake for example), there's a delay. If I hold the key too long and release it, then console vim keeps scrolling, since the repeated keystrokes are buffered. One could say "decrease your keystroke repeat rate", but the thing is I don't have the problem with gvim. Using gvim instead is another option, but still that doesn't fix the issue with vim. I'm using some plugins, but disabling / removing them had –  user23054 Aug 10 '11 at 7:17
This question should instead be filed as a bug report, and as such is off-topic, thanks! Instructions here. –  Bruno Pereira Feb 18 '12 at 1:15
Upstream bugreport (along with an explanation why it's jerky, without a fix at the moment) is at bugzilla.gnome.org/show_bug.cgi?id=744774 –  egmont May 6 at 21:31

Browse other questions tagged or ask your own question.