Allow completion of email addresses so you can use Vim as a basic “address book”.
This is useful when you use Vim to compose emails in a program such as
have the following settings in my
set edit_headers = yes # Edit the headers of your outgoing messages set autoedit = yes # Go directly to editor after pressing m
m I immediately go to Vim, and can fill out the headers myself:
From: Martin Tournoij <email@example.com> To: Cc: Bcc: Subject: Reply-To:
I can then use this plugin to quickly fill in the
Cc:, etc. fields.
:AddEmailAddressto add a new email address.
'~/.mutt/addressby default. You can configure this by setting
There are 3 fields in the address file.
email address, and
info. The extra info is shown preview window. These fields are separated by the
0x1e character. Type
<C-v>x1e to insert it.