Re: grep.vim support
Neil Gabriel wrote: All, I am relatively new to vim and gvim and I am trying to install the grep plugin. So far, everything appears installed properly (i have access to Grep, Rgrep, etc ... from within gvim). Also, I am running WinXP with Cygwin. Reading through the plugin's install notes, i set the following in my _vimrc file. nnoremap silent F3 :GrepCR let Grep_Path = 'C:\tools\GnuWin32\bin\grep.exe' let Egrep_Path = 'C:\tools\GnuWin32\bin\grep.exe' let Grep_Xargs_Path = 'C:\tools\GnuWin32\bin\xargs.exe' let Grep_Cygwin_Find = 1 (I also downloaded and installed the GNU Win32 tools) At this point, Grep seems to work. I can issue the command, see the results in the quickfix window and navigate accordingly. Rgrep (much more useful to me) does not seem to work. No matter what symbol I'm looking for or what my current working directory is, I never get a single match. I had the suspicion that it was a forward-slash vs. backward-slash issue so i was optimistic when i found the 'Grep_Cygwin_Find' option, but that did not seem to work. Any suggestions out there? Thanks Have you tried Vim 7.0's built-in :vimgrep command? Best regards, Tony.
Re: grep.vim support
Neil Gabriel wrote: I did in fact look at that. Reading through the internal grep however, I do not see a way of running a recursive search (i could be missing it). Thanks If you mean recursing into directories, see the ** wildcard. I don't remember where in the help it's mentioned but that's what it means. A few (untested) silly examples: :vimgrep /\if\/g $VIMRUNTIME/**/*.vim to find all if statements in all distributed Vim scripts. vimgrep /\s/g /**/* to find all spaces and tabs anywhere on your hard disk (the current drive on Windows, _all_ currently mounted filesystems on Unix). This might, of course, take quite a lot of time. Don't try it unless you're ready to go to bed and see in the morrow whether Vim has finished searching! Best regards, Tony. P.S. 1. Top-posting is frowned upon in the Vim lists. 2. Please don't use private mail unless you're straying off-topic. I suppose you can educate yourself to use Reply to All (or Reply to List if your mailer offers it) rather than Reply to Sender, can't you?
Re: grep.vim support
Thanks for the info.. I will be sure to use 'Reply to all'. With regard to top vs. bottom posting, i'll have to dig through my gmail settings... I image they support either way. Thanks again On 11/9/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Neil Gabriel wrote: I did in fact look at that. Reading through the internal grep however, I do not see a way of running a recursive search (i could be missing it). Thanks If you mean recursing into directories, see the ** wildcard. I don't remember where in the help it's mentioned but that's what it means. A few (untested) silly examples: :vimgrep /\if\/g $VIMRUNTIME/**/*.vim to find all if statements in all distributed Vim scripts. vimgrep /\s/g /**/* to find all spaces and tabs anywhere on your hard disk (the current drive on Windows, _all_ currently mounted filesystems on Unix). This might, of course, take quite a lot of time. Don't try it unless you're ready to go to bed and see in the morrow whether Vim has finished searching! Best regards, Tony. P.S. 1. Top-posting is frowned upon in the Vim lists. 2. Please don't use private mail unless you're straying off-topic. I suppose you can educate yourself to use Reply to All (or Reply to List if your mailer offers it) rather than Reply to Sender, can't you?
Re: grep.vim support
On 11/9/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Neil Gabriel wrote: I did in fact look at that. Reading through the internal grep however, I do not see a way of running a recursive search (i could be missing it). Thanks If you mean recursing into directories, see the ** wildcard. I don't remember where in the help it's mentioned but that's what it means. A few (untested) silly examples: :vimgrep /\if\/g $VIMRUNTIME/**/*.vim to find all if statements in all distributed Vim scripts. vimgrep /\s/g /**/* to find all spaces and tabs anywhere on your hard disk (the current drive on Windows, _all_ currently mounted filesystems on Unix). This might, of course, take quite a lot of time. Don't try it unless you're ready to go to bed and see in the morrow whether Vim has finished searching! Best regards, Tony. P.S. 1. Top-posting is frowned upon in the Vim lists. 2. Please don't use private mail unless you're straying off-topic. I suppose you can educate yourself to use Reply to All (or Reply to List if your mailer offers it) rather than Reply to Sender, can't you? On 11/9/06, Neil Gabriel [EMAIL PROTECTED] wrote: Thanks for the info.. I will be sure to use 'Reply to all'. With regard to top vs. bottom posting, i'll have to dig through my gmail settings... I image they support either way. Thanks again Btw ... Is there a way to map a key such that vim will invoke vimgrep on whatever symbol the cursor is on?