Ⅰ. 插件描述
asyncfinder.vim - simple asynchronous fuzzy file finder for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'troydm/asyncfinder-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'troydm/asyncfinder-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'troydm/asyncfinder-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/troydm/asyncfinder.vim
Ⅳ. 文档说明
asyncfinder.vim
asyncfinder.vim - simple asynchronous fuzzy file finder and search text for vim that won't make you wait
for results evar! EVAR! It uses python's threading module and does pattern matching in
background thread so your vim won't get stuck and you won't get frustuated by waiting for
- It's quite similar to [FuzzyFinder], [ctrlp.vim] and [unite.vim] and inspired by those
- but is much more simple in its functionality. It supports matching most recently used files
too but you need to have [MRU] plugin to use this functionality. For searching text it supports
grep, ack, ag commands and also has a builtin search functionality that can be used in enviroments where
those commands aren't available
screenshot

usage
:AsyncFinder - search for filename
:AsyncGrep - search for pattern in files recursively