From: Bram Moolenaar <[EMAIL PROTECTED]>
Date: Sat, 15 Apr 2006 22:48:29 +0200

James Player wrote:

> When I enable cursor line highlighting with ":set cul" and
> I have syntax enabled, scrolling (j,k,l,h) becomes very slow,
> especially for some file types (xml, ruby, ...)  Is it expected.

Yes, that is expected.  Vim needs to redraw the whole window every time
you move the cursor.  Otherwise scrolling only redraws the text that
appears.

But it also happens when the cursor is moved without actually scrolling
the information on the screen.  Can it be optimized not to redraw the
whole screen when only cursor position changes?

Thanks,
--
James Player


Reply via email to