[Vim-latex-devel] vim vs gvim Menus on Empty .tex File
Brought to you by:
srinathava,
tmaas
From: Donnie P. <don...@ma...> - 2007-06-04 16:06:08
|
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'. You can prove this with the results of vim's ':set ft' command. It will come back 'plaintex' rather than 'tex'. Therefore, another solution is to use vim's ':set ft=tex' command on the new, empty file to wake up latexsuite. See: http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/2006-August/003267.htm -- Donnie Pennington |