Ⅰ. 插件描述
A vim plugin that integrates the unix locate databaseⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'rm-hull/vim-locate'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'rm-hull/vim-locate'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'rm-hull/vim-locate'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/rm-hull/vim-locate
Ⅳ. 文档说明
# vim-locate
A vim plugin that integrates the unix locate database, allowing fast
partial case-insensitive file name searching. Matching files are loaded
in a locate window list.
Installation
Copy the plugin/locate.vim file to ~/.vim/plugins and add the following
to your ~/.vimrc configuration to invoke with F4:
nnoremap <silent> <F4> :Locate<CR>
Usage
Use :Locate, press F4, or select Tools --> Search --> File Names.
The word currently under the cursor will be pre-selected. A readline
history is maintained of previous search phrases.
License
Copyright © 2012 Richard Hull
Distributed under the Eclipse Public License.