Query vcard file in mutt, using query command. Fork of mutt_vc_query, part of the Rolo project, which seems abandoned.
Original read me file provided in README.
autoreconf -f -i ./configure make make install
Note: if making changes, use
git update-index --assume-unchanged INSTALL
to avoid automatic changes to INSTALL making it into the git history.
For runing the unit test suite:
mutt_vc_query -f <path to .vcf> <query>
Usage in mutt
Add to your muttrc
set query_command="mutt_vc_query -f <path to .vcf> '%s'"
Then you can press Shift-Q to start a query, or Ctrl-T to complete an email address.
Changes from original
- Added -a option to output all email addresses associated to a contact, instead of just the preferred address.