Re: [Vim-latex-devel] vim vs gvim Menus on Empty .tex File
Brought to you by:
srinathava,
tmaas
From: Aditya M. <ad...@um...> - 2007-06-05 02:54:46
|
On Mon, 4 Jun 2007, Donnie Pennington wrote: > It would be helpful to vim and latex newbies if the vim-latexsuite > documentation could make clear that vim (as opposed to gvim) will not > load the latexsuite plugin when you first create a new empty .tex file. > You have to "prime the pump" as documented here: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377453 > > This problem occurs because vim sees the empty file's filetype as > 'plaintex' rather than 'tex'. This was changed recently (around Vim 7). See See :he ft-tex-plugin If you only use latex, add the following to your .vimrc let g:tex_flavor = "latex" Probably needs to be added to latex-suite's FAQ. Aditya |