Vim Tips Wiki


1,624pages on
this wiki
Add New Page

Use this page to discuss script 311 grep: grep search tools integration with Vim

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


To get Rgrep to work under Windows I had to do two things. I needed to specify the Quote_Char in my vimrc file like this:

:let Grep_Shell_Quote_Char = "\""

And I edited the grep.vim plug afterline 534. I added these two lines:

let tmptxt = split(filepattern)
let txt = join(tmtxt) . ' '

This was an easy way to remove a leading white space character that the windows strpart(txt,0, stridx(txt, ' ')) could not seem to handle properly.

I looked for a solution to this problem for a while. Perhaps this isn't the best place for it, but at least someone else might find it when they are looking. --March 25, 2013


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki