dkprice / vim-easygrep

Fast and Easy Find and Replace Across Multiple Files
The Unlicense
325 stars 47 forks source link

Add support for ripgrep #53

Open eulerdisk opened 8 years ago

eulerdisk commented 8 years ago

ripgrep is a superfast grep implemented in Rust. It would be nice to have it.

https://github.com/BurntSushi/ripgrep

dkprice commented 8 years ago

This looks like a great tool, thanks for suggesting it. I added initial support in this commit: 6a2225db8fcd5045b4c132c488863d257851632a

Not all options are yet implemented but I'm hoping to look into the rest soon. In the meantime basic support should work.

dpc commented 7 years ago

Thank you! rg is so much faster...

Some documentation for other users:

:GrepCommand to test

And enable permanently with:

let g:EasyGrepCommand='rg'
Herz3h commented 6 years ago

Any progress on this ? I haven't managed to get RG working following @dpc instructions

dylan-chong commented 6 years ago

@Herz3h Did you make any progress. It works for me

dylan-chong commented 6 years ago

Ahh, the only problem is when trying to do a replace with special characters (e.g. (). ag has the same problem with this plug-in.

The problem is due to grep needing to escape different characters versus ag / rg