Hacker News new | past | comments | ask | show | jobs | submit login

Fun trivia: vscode uses ripgrep for its search feature



When I first started using VS code, I was googling around for a ripgrep extension for search. It took me a bit to find that oh, that's already the default. Shocking getting used to not having 40 years of legacy coming from emacs :)


It's Emacs, so configuring it to use ripgrep instead of native is grep is possible in a few lines of Emacs lisp in your configuration file. See https://stegosaurusdormant.com/emacs-ripgrep/


I had done that. The point is with a modern editor, I don't have to.

Emacs is unusable in a modern dev environment with its defaults. You have to write lisp.


I'm using ivy/avy/counsel in Emacs and there's counsel-rg, which I use all the time. It's fantastic. It's not stock, but it's really easy to configure (and it calls ripgrep under the hood, so you need to install ripgrep).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: