sponsor Vim development Vim logo Vim Book Ad

tex.vim : an updated version of the standard ftplugin/tex.vim

 script karma  Rating 38/18, Downloaded by 7169  Comments, bugs, improvements  Vim wiki

created by
Benji Fisher
script type
     This is an updated version of the file ftplugin/tex.vim included in the
standard vim distribution.  It sets options appropriately for editing TeX
(especially LaTeX) files.  It is fairly conservative:  it may not do everything
you want, but it will probably not do anything to annoy you.

     This will set the buffer-local variable b:tex_flavor to "tex" (for plain TeX)
or "latex".  Other mappings, plugins, etc. may use this variable to modify
their behavior.
install details
Copy the file to $VIMRUNTIME/ftplugin/tex.vim .
You probably do not want to have this in your local ftplugin/ directory,
since you may get an even more recent version when you upgrade to
a new version of vim.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
tex.vim 1.2 2004-05-12 6.0 Benji Fisher Improve the 'includeexpr' option setting for systems where "{" and "}" are included in 'isfname'.  (Ajit Thakkar)

This version should be included in the vim 6.3 distribution.
tex.vim 1.1.1 2003-12-30 6.0 Benji Fisher Oops.  I commented out the "finish" line for testing, then forgot to un-comment it.
tex.vim 1.1 2003-12-30 6.0 Benji Fisher I fixed some typos so that the 'define' option works better with plain TeX.
tex.vim 1.0 2002-09-08 6.0 Benji Fisher Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github