Ⅰ. 插件描述
Vim plugin to perform search with mu and insert the selected resultⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'sheoak/vim-mucfind'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'sheoak/vim-mucfind'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'sheoak/vim-mucfind'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/sheoak/vim-mucfind
Ⅳ. 文档说明
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>'