Ⅰ. 插件描述
Syntax file for emails. Update of the default vim script to include URLs etcⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'eddsteel/mail-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'eddsteel/mail-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'eddsteel/mail-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/mail.vim
Ⅳ. 文档说明
Updates the default VIM email syntax script to also do the following:
- Highlight URLs and email addresses in the message / quoted message
- Highlight signatures in the quoted message
- 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).