vim-notmuch-address


Ⅰ. 插件描述

Complete email addresses with nomtuch address when composing email in vim.

Ⅱ. 基本信息

创建日期:  2016-06-08
使用用户:  1
Github星:  10
插件作者:  Aaron D Borden

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'adborden/vim-notmuch-address'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'adborden/vim-notmuch-address'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'adborden/vim-notmuch-address'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/adborden/vim-notmuch-address

Ⅳ. 文档说明

# notmuch-address Vim completion

Uses notmuch's address command to complete email addresses when composing
email with Vim.

No need to maintain your own address book, just start typing an address
and notmuch will find matches from your maildir.

Install

There are many ways to install Vim plugins.

Pathogen

If you use pathogen.

$ mkdir -p ~/.vim/bundle
$ cd ~/.vim/bundle
$ git clone https://github.com/adborden/vim-notmuch-address.git

Vundle

If you use Vundle, add this to your .vimrc.

Plugin 'adborden/vim-notmuch-address'

Autoload

Copy plugin/notmuch_address.vim to your ~/.vim/autoload directory.

Usage

The plugin hooks into Vim's user defined completion. On any address line (To:,
Cc:, etc.), use ctrl-x, ctrl-u to activate the completion.

Notmuch queries

If your phrase includes a :, the plugin will treat it as a notmuch query.

Managing an address book

You can limit the search to a single tag by setting g:notmuch_address_tag.

let g:notmuch_address_tag = 'addressbook'

And tag your contacts with your addressbook tag.

notmuch tag +addressbook -- from:friend@example.com

License

vim-notmuch-address
Copyright (C) 2016 Aaron D Borden

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

添加新评论