This plugin is deprecated, I don't maintain it anymore, but it should still work.
Vim plugin to perform email addresses search with mu and insert the selected result.
This plugin has been created to be used with this great unix-style mail setup by Tomka tomka@g.o: http://dev.gentoo.org/~tomka/mail.html
Of course you can use it for any search using “mu”. Please note I’m a vim-script beginner so this script can most likely be improve. Any feedback is welcome.
Recommanded: use Vundle for the installation.
sed, grep and mu binaries must be in the path.
git clone https://github.com/sheoak/vim-mucfind ~/.vim/bundle/vim-mucfind
Plugin 'sheoak/vim-mucfind'
Copy plugin/mucfind.vim to ~/.vim/plugin directory and restart vim.
Just press F6 in insert mode (or the key you configured), type your search and enter the number of the email you want to insert.
You can remap the default key (F6) like this in your ~/.vimrc
" replace F8 by any Fn key or a valid combinaison for insert mode
let g:mucfind_run_key = '<F8>'