Ⅰ. 插件描述
Extract an e-mail address from the mutt aliases file.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/mail-mutt-alias-set'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/mail-mutt-alias-set'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/mail-mutt-alias-set'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Mail_mutt_alias.set
Ⅳ. 文档说明
This script permit to insert an alias from the mutt aliases file while editing an
e-mail within vim.
Since the version 2.0, we can hit <tab> (in INSERT-mode) within an address
field (To:, Cc:, Bcc:, Reply-To) to expand an alias.
If several contacts match the to-be-expanded pattern, a menu is proposed in a
splitted window in order to choose the addresses.
Dependencies :
v2.x+ : a.vim http://vim.sourceforge.net/scripts/script.php?script_id=31
Actually, you should download an old version of a.vim that still exports its functions
v2.2+ : words_tools.vim http://vim.sourceforge.net/scripts/script.php?script_id=143
N.B.: The command (:Ca) and the macro (,Ca) have been abandonned since version 2.3.