Re: [Vim-latex-devel] Very slow opening of LaTeX file after installing latex-suite
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sri...@gm...> - 2006-02-03 04:37:47
|
Hi, On 2/2/06, Jeremy Conlin <jer...@gm...> wrote: > I just installed LaTeX suite and added the following to my .vimrc file > > filetype plugin indent on > > Now when I open a LaTeX/TeX file, it takes a very long time to open, a > few seconds. Even worse is that I have to press enter before I can > see everything. Is this normal or do I have a setting messed up? On my machine, WinXP on Pentium4, 1.6GHz, 1GB RAM, it takes about 0.4 seconds to start latex-suite. I measured this by starting gvim on an empty file (so that vim-latex is not activated) and then doing: :python import time :exec 'python tic =3D time.time()' | set ft=3Dtex | exec 'python toc =3D ti= me.time()' :python print toc-tic You will ofcourse need vim with python to do this. You can try to set let g:Tex_MathMenus =3D 0 in your ~/.vim/ftplugin/tex.vim to reduce the time somewhat, but it might not really help much. I am not sure why this is slower for you, but 2 seconds seems to be in the same ballpark as 0.5 seconds, so I am not sure if things can be much faster. Srinath |