agrep


Ⅰ. 插件描述

Asynchronous grep plugin for Vim

Ⅱ. 基本信息

创建日期:  2016-04-29
使用用户:  10
Github星:  65
插件作者:  ramele

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ramele/agrep'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ramele/agrep'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ramele/agrep'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/ramele/agrep

Ⅳ. 文档说明

#Agrep

Asynchronous grep plugin for Vim

  • Designed for search - Vim's quickfix is great, but is not the best choice
    to use for searching. Agrep uses a simpler mechanism to manage the results

and makes the list of matches very easy to read and navigate.

  • Fully asynchronous - Search is done in the background. There is no need to
    wait for the entire process to finish -the matches are displayed as they are

found in the Agrep window and you can start exploring them immediately. You
can keep working in Vim as usual while the search is active.

  • Fast and lightweight - Most likely the fastest search tool you can get in
    Vim, or in any other editor. Grep is fast, however, integrating it into other

tools should be done carefully. Agrep is optimized to preserve the speed of
grep and to keep Vim fully functional while search is running, even for
massive searches with thousands of matches.

Agrep

Usage:
Agrep takes the same command line arguments as the shell's grep, for example:

:Agrep -r 'foo.*bar' ~/my_project

See :h agrep for details

添加新评论