glark.vim


Ⅰ. 插件描述

a wrapper for the glark command (a grep-like utility)

Ⅱ. 基本信息

创建日期:  2006-02-06
使用用户:  1
Github星:  4
插件作者:  Tom Link

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This plugin provides one wrapper command for the glark command:

    :Glark <args>

Example: Find occurrences of "foo" and "bar" within 3 lines and
display 2 lines context:

    :Glark -r -C 2 --and=3 foo bar *

The arguments are passed to the glark command.

It displays the output of the glark command (see below) in a window,
does some highlighting and provides some handy key maps.

If you don't want to display context information, you're probably better
off by setting 'grepprg' to "glark --grep".

Be also aware that this plugin doesn't use vim's quickfix functionality
as most grep plugins do.

添加新评论