Live data from Hacker News

Ripgrep 15.0

github.com

71–80 of 119 posts

Re: Ripgrep 15.0

#72
Recently, I found that the `—replace` option, and it’s quite nice. Along with `—type` and I felt like I missed out on nice features.

I’m happy reading releases notes more thoroughly to keep myself aware of new features.

Nice to see some better integration with jj!

Re: Ripgrep 15.0

#73
post #70

Earlier quoted context omitted.

That's more a question for fzf than for ripgrep. ripgrep doesn't have any interactive mode. You give it arguments and it runs. That's it. ripgrep doesn't have any mode where it waits for user input (unless it's waiting for stdin).

You could have incorporated some snark or something, but no, you're always the most helpful you can be. You're very inspirational - thank you! (Also like thanks for ripgrep I guess?)

>You could have incorporated some snark

Why even say this?

Re: Ripgrep 15.0

#75

Earlier quoted context omitted.

What do you mean? You could pass an empty pattern. But that will match everything. Maybe talk about your use case at a higher level.

Thanks for the response. I would like to use fzf with rg to search file contents with a previewer open. However when I first open fzf I don't wish to pass any argument to rg, until I start typing. Something like Telescope live_grep.

Certainly possible with fzf, everything you need is in the fzf docs. Here's something in vimscript (sorry) that does that: https://github.com/Emilv2/siefe.vim/blob/8432406581acbf450b5...

Re: Ripgrep 15.0

#76
post #36

ripgrep is one of the main reasons I got interested in rust. it worked so well, it piqued my interest that it was written in rust. many years later, very glad about that. been using `rg` daily since then as well!

[flagged]

Re: Ripgrep 15.0

#77
post #51

rg is a tool that feels like magic. when in reality, like most things that feel like magic, it’s a result of exceptionally good engineering and dedication to improvement, and actually takes advantage of the incredible hardware we all use daily. It’s also smithing that’s unleashed the ability of agents to explore and reason about code faster than waiting for some sort of “lsp-like” standard we probably would’ve had to…

genuinely curious what smithing means in this context!

Re: Ripgrep 15.0

#78

Earlier quoted context omitted.

Thanks for the response. I would like to use fzf with rg to search file contents with a previewer open. However when I first open fzf I don't wish to pass any argument to rg, until I start typing. Something like Telescope live_grep.

Certainly possible with fzf, everything you need is in the fzf docs. Here's something in vimscript (sorry) that does that: https://github.com/Emilv2/siefe.vim/blob/8432406581acbf450b5...

Thanks. You've put some work into this.

Re: Ripgrep 15.0

#79
post #51

rg is a tool that feels like magic. when in reality, like most things that feel like magic, it’s a result of exceptionally good engineering and dedication to improvement, and actually takes advantage of the incredible hardware we all use daily. It’s also smithing that’s unleashed the ability of agents to explore and reason about code faster than waiting for some sort of “lsp-like” standard we probably would’ve had to…

genuinely curious what smithing means in this context!

I think it’s just a typo for “something”, lol

Re: Ripgrep 15.0

#80
post #51

rg is a tool that feels like magic. when in reality, like most things that feel like magic, it’s a result of exceptionally good engineering and dedication to improvement, and actually takes advantage of the incredible hardware we all use daily. It’s also smithing that’s unleashed the ability of agents to explore and reason about code faster than waiting for some sort of “lsp-like” standard we probably would’ve had to…

genuinely curious what smithing means in this context!

"something" I expect.
Post reply on HN