On Thursday, May 30, 2013 3:49:14 AM UTC-5, swapnil wrote: > Hi All, > I am gVim user on windows. I want suggestion from folks for > search/replace recursively in multiple file use case. There are few tools > like EasyGrep,Grep on windows. Searching in multiple files they work, but I > keep facing issue for recursive search. > > Can someone guide the best tool which works on gVim for windows, which they > are using already ? >
For searching multiple files, especially recursive directory searches, I usually use the :vimgrep command. Sometimes I might use the :grep command instead (using Windows' "findstr" utility) and pass the /S flag for a recursive search. I haven't done this in a long time. To replace, now that stuff is in the quickfix list, I usually do a :%s command on the first file, do :cnfile, and repeat until all files are visited. That's more efficient in a macro or a chained command using |. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
