Re: [Vim-latex-devel] vim vs gvim Menus on Empty .tex File
Brought to you by:
srinathava,
tmaas
From: Donnie P. <don...@ma...> - 2007-06-05 03:06:40
|
Ahh . . . that did the trick. Thanks. -- Donnie Pennington ---On Mon, Jun 04, 2007 at 10:54:42PM -0400, Aditya Mahajan wrote--- 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 |