Allan K wrote:
> Hi, I added cursorline to my .vimrc a while ago, I find it very
> helpful.
>
> However I also have a jerky scrolling problem, and after debugging
> my .vimrc today I found it's cursorline causing the problem.
>
> Is this a known issue? I can't find anything on the web, other than 1
> discussion at Experts Exchange which is subscription-only.

Yes, a known issue.

I toggle cursorline when needed.

 " toggle cursorline or center line
 if version >= 700 " NONE turns off underlining
   highlight CursorLine   NONE ctermbg=Yellow
   highlight CursorColumn NONE ctermbg=Yellow
   nmap <silent> <F7> :set cursorline!<cr>
 else " center line
   nmap <F7> zz
 endif
 imap <F7> <c-o><F7>
 vmap <F7> <esc><F7>gv
-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to