sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

mail.vim : Syntax file for emails. Update of the default vim script to include URLs etc

 script karma  Rating 46/21, Downloaded by 2000    Comments, bugs, improvements  Vim wiki

created by
gi1242 gi1242
script type
Updates the default VIM email syntax script to also do the following:

1. Highlight URLs and email addresses in the message / quoted message
2. Highlight signatures in the quoted message
3. Highlight headers in the quoted message

Look at http://www.math.uchicago.edu/~gautam/vim/xterm16/email.html for a screenshot. This file is now part of the standard vim distribution, and will be shipped with future releases (6.3 and later).
install details
For local installation put the mail.vim file in your .vim/syntax directory. For global installation put it in $VIMRUNTIME/syntax directory

If not enabled by default do
:set ft=mail
:syn on

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
mail.vim 1.1 2004-02-02 6.0 gi1242 gi1242 Now highlights email addresses and URLs in different colors. Also highlights the quote markers of quoted headers / quoted signatures correctly.
mail.vim 1.0 2003-11-04 6.0 gi1242 gi1242 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.
SourceForge.net Logo