Ⅰ. 插件描述
Find files in your whole system or current directoryⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/findmate'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/findmate'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/findmate'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/FindMate
Ⅳ. 文档说明
FindMate provides a convenient way (at least for me) to quickly find the
files you want. It uses the locate and file commands to achieve its goal
(vimgrep on windows).
Originality it was released by Manuel Aguilar and Victor Guardiola but since I
couldn't reach neither of them I decide to upload it by myself (and add some
documentation) because I consider that this script could help someone else.
The original script can be still found at
http://snipt.net/voyeg3r/findmate-plugin-for-vim/
You can launch FindMate by typing:
,, File_name (two commas)
Or
:FindMate File_name
The shortcut can be redefined by using:
map your_shortcut <Plug>FindMate