sponsor Vim development Vim logo Vim Book Ad

vim-notmuch-addrlookup : complete e-mail addresses in Vim by those indexed in your mail folders

 script karma  Rating 1/1, Downloaded by 301  Comments, bugs, improvements  Vim wiki

created by
Enno Nagel
 
script type
ftplugin
 
description
This plug-in lets you complete e-mail addresses in Vim by those found in your inbox (or any other mail folder) via notmuch. Useful, for example, when using Vim as editor for mutt (especially with $edit_headers set).

# Usage

To complete an e-mail address inside a mail file in Vim, press CTRL-X CTRL-O in insert mode. See :help i_CTRL-X_CTRL-O and :help compl-omni.

# Setup

Download and install (by make && sudo cp notmuch-addrlookup /usr/local/bin) notmuch-addrlookup from https://github.com/aperezdc/notmuch-addrlookup-c . If you are missing superuser rights, then compile it (by make) and add the path of the folder that contains the obtained executable notmuch-addrlookup (say ~/bin) to your environment variable $PATH: If you use bash or zsh, by adding to ~/.profile or ~/.zshenv the line

        PATH=$PATH:~/bin

If the executable notmuch-addrlookup is unavailable, but notmuch is, then notmuch address will be used instead; whose results are however less pertinent.

# Issues

vim-notmuch-addrlookup is developed at https://github.com/Konfekt/vim-notmuch-addrlookup where issues can be filed.
 
install details
Unzip vim-notmuch-addrlookup.zip into  ~/.vim on Linux or %USERPROFILE%\vimfiles on Windows.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-notmuch-addrlookup.zip 1.1 2021-03-04 7.0 Enno Nagel make available for all custom file types
vim-notmuch-addrlookup.zip 1.0 2019-09-18 6.0 Enno Nagel Initial upload
ip used for rating: 44.192.107.255

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github