Installation - Sfate/grep.vim GitHub Wiki

Install required software

The grep plugin integrates the grep, fgrep, egrep, agrep and ack tools with Vim and allows you to search for a pattern in one or more files and jump to them.

To use this plugin, you need the grep, fgrep, egrep, agrep, find, xargs and ack utilities. These tools (except ack) are present in most of the Unix installations.

For MS-Windows systems

You can download the GNU grep and find utilities.

General installations for ack:

For using ack you should install it also.

OS Command
Debian / Ubuntu sudo apt-get install ack-grep
Fedora su -l -c 'yum install ack'
openSUSE sudo zypper install ack
Gentoo sudo emerge ack
Homebrew brew install ack
MacPorts sudo port install p5-app-ack
Gentoo Prefix emerge ack
FreeBSD cd /usr/ports/textproc/p5-ack/ && make install clean

For more info about ack and installations you can visit their site

Plugin Install

If you use Pathogen, do this:

$ cd ~/.vim/bundle
$ git clone https://github.com/plasticboy/vim-markdown.git

If you use Vundle, do this:

$ echo Bundle \'Sfate/grep.vim\' >> ~/.vimrc
$ vim +BundleUpdate +qall

To install without Pathogen or Vundle, download the tarball and do this:

$ cd ~/.vim
$ tar --strip=1 -zxf grep.vim-master.tar.gz

Back to overview