El Domingo, 11 de marzo de 2012, Yichao Zhou escribió:
> Why 'relativenumber' will cause vim so lag even if I just type.  Also
> I found that 'relativenumber' will cause mouse scrolling must slower
> than 'number'.  I think it should not be so slow since it do not do
> many thing.  There must be some bugs in vim.  At least it should give
> a warning in document to tell the user this option will heavily slow
> down the VIM.

Hi. Sorry for jumping in the conversation so late, but I just want to point 
out that both relativenumber and cursorline are known to be slow. The reason 
is that both options cause a whole redraw of parts of the line. In the help 
section of cursorline is mentioned that is known to be slow, and for 
relativenumber is not mentioned, but I think that the same logic applies.

Strangely, on a slow windows computer with GVim on Windows XP I don't normally 
notice it, but on a fast one with Linux and GVim again I sometimes have to 
disable cursorline if I scroll too much.

-- 
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to