vim-quickfixdo


Ⅰ. 插件描述

Run a command on each entry of your quickfix argument list

Ⅱ. 基本信息

创建日期:  2013-10-12
使用用户:  6
Github星:  7
插件作者:  Ju Liu

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-quickfixdo

Run a command on each entry of your quickfix argument list. Basically stolen
from [this SO
comment](http://stackoverflow.com/questions/4792561/how-to-do-search-replace-with-ack-in-vim/4793316#4793316).

Installation

If you don't have a preferred installation method, I recommend
installing pathogen.vim, and
then simply copy and paste these commands:

cd ~/.vim/bundle
git clone git://github.com/Arkham/vim-quickfixdo.git

Usage

Let's say you are using ack.vim and you
have a nice list of files in your quickfix list. Using vim-quickfix, you can
type the following command:

:QuickFixDo :%s/vegetable/sausage/gce

And Vim will let you replace every vegetable in your files with sausages! :heart:

Example

QuickFixDo example

添加新评论