/vim-mucfind

Vim plugin to perform search with mu and insert the selected result

Primary LanguageVim scriptMIT LicenseMIT

vim-mucfind

Warning

This plugin is deprecated, I don't maintain it anymore, but it should still work.

About this plugin

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.

Installation

Recommanded: use Vundle for the installation.

sed, grep and mu binaries must be in the path.

Pathogen

git clone https://github.com/sheoak/vim-mucfind ~/.vim/bundle/vim-mucfind

Vundle

Plugin 'sheoak/vim-mucfind'

Manual

Copy plugin/mucfind.vim to ~/.vim/plugin directory and restart vim.

How to use

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.

Configuration

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>'