On 14:20 Sun 11 Mar     , Charles E Campbell Jr wrote:
> Yichao Zhou wrote:
> > Hi everyone.
> >    When I write tex, I always find that typing in vim is very very lag
> > when the file become longer.  I used to think this is the problem of
> > latex's complicated syntax.  So I just ignore it.  But today I find
> > that after disabling 'relativenumber' or change it to 'number' make
> > vim behave like a rocket.  I have never enjoyed a such so smooth VIM!
> >
> > 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.
> >
> >    
> For speeding up Latex+syntax highlighting:
> 
>    :he tex-slow
>    :he tex-folding
> 
> Hope that helps,
> Chip Campbell
> 
> -- 
> 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

Using both ':he tex-slow' and turning of folding doesn't help that much as
setting 'norelativenumber'. Though setting ':syntax off' helps equally well.

Best,
Marcin

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