Wikia

Vim Tips Wiki

Script:311

Talk0
1,613pages on
this wiki

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 vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

RgrepEdit

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

CommentsEdit

Around Wikia's network

Random Wiki