Ⅰ. 插件描述
:love_letter: OSX Contacts.app email completionⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'vim-utils/vim-contacts'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'vim-utils/vim-contacts'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'vim-utils/vim-contacts'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-utils/vim-contacts
Ⅳ. 文档说明
## contacts.vim
OSX Contacts.app email address omni-completion for 'mail' filetype files.
Useful if you're using mutt.
Only works for OSX Contacts.app.
Installation
- Install contacts CLI app with:
brew install https://raw.github.com/tgray/homebrew-tgbrew/master/contacts2.rb
This is a hard dependency!
Installing the other contacts app via brew install contacts won't work.
- Install this vim plugin using your prefered plugin manager.
Usage
It is assumed you're using mutt as your email client.
- create a new email in
muttwith vim <C-X><C-O>omnicomplete your contacts email addresses