Ⅰ. 插件描述
sieve mail filter syntax fileⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/sieve-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/sieve-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/sieve-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/sieve.vim
Ⅳ. 文档说明
The sieve syntax file is based on 'Sieve: A Mail Filtering Language' (RFC3028) by The Internet Society 2001 (http://www.faqs.org/rfcs/rfc3028.html).
Sieve is a proposed internet-standard language for effectively filtering mail. It can delete mail, redirect messages other mail boces or automatically save mail into a specific folder.
A good overview of the language and its capabilities can be found at http://www.cyrusoft.com/sieve/.
For an installation follow the instructions in ':help syntax'.