> 'relativenumber' shouldn't make it slower.  I can't reproduce your problem
> in a TeX document (ConTeXt).  Can you provide an example document that shows
> the problem?  Have you installed any plugins that might be slower with
> 'relativenumber' enabled?

Yes. I attached the example document.
You can reproduce it either by
1.  With rnu, typing some words.  You will find the words on screen is
blinking. (but nu won't)
2.  With rnu, use your mouse scroll to screen.  You will find the
screen scroll much slower than 'nu'.
This is a latex document, you'd better have
  let g:tex_comment_nospell= 1
  let g:tex_flavor = "latex"

The phenomenon is very similar to 'cursorline'.

I spend much time on detecting what causes vim slower.  I binary
search my vimrc and disable all the plugin and finally detect the
problem.  I'm sure this is not the problem of plugin or other options.


> Also, please provide `vim --version` (or :version) output.

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 16 2010 10:30:12)
MS-Windows 64-bit console version
Compiled by [email protected]
Huge version without GUI.  Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path +float +folding -footer +gettext/dyn -hangul_input +iconv/dyn
+insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
+multi_byte_ime/dyn +multi_lang -mzscheme -netbeans_intg -osfiletype
+path_extra -perl +persistent_undo +postscript +printer +profile +python/dyn
-python3 +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent
-sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl -tgetent -termresponse +textobjects +title
-toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -xfontset -xim
-xterm_save -xpm_w32
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -DFEAT_CSCO
PE       -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  /Fo.\ObjCY/ /Ox /GL -DNDEBUG  /Z
l /MT -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_MBYTE -DDYNAMIC_ICONV -DDYNAMIC_GETT
EXT -DFEAT_PYTHON -DDYNAMIC_PYTHON  -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DMSWI
NPS -DFEAT_HUGE /Fd.\ObjCY/ /Zi
Linking: link /RELEASE /nologo /subsystem:console /LTCG:STATUS oldnames.lib kern
el32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib uuid.lib /ma
chine:AMD64 /nodefaultlib  libcmt.lib   user32.lib      /nodefaultlib:python27.l
ib       /PDB:vim.pdb -debug

-- 
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

Attachment: hw03.tex
Description: TeX document

Reply via email to