deadgrep
fast, friendly searching with ripgrep and Emacs (by Wilfred)
Emacs-wgrep
Writable grep buffer and apply the changes to files (by mhayashi1120)
Our great sponsors
deadgrep | Emacs-wgrep | |
---|---|---|
11 | 6 | |
699 | 596 | |
- | - | |
4.4 | 6.2 | |
15 days ago | 4 months ago | |
Emacs Lisp | Emacs Lisp | |
- | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
deadgrep
Posts with mentions or reviews of deadgrep.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-30.
-
Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
Deadgrep (uses ripgrep and evil-collection has a binding) takes me to my happy place -
https://github.com/Wilfred/deadgrep
-
James Dyer: More flexible grepping with deadgrep
theres a package for this that’s god tier: deadgrep
-
advanced-search
this is cool too Wilfred/deadgrep: fast, friendly searching with ripgrep and Emacs
- What have you recently *removed* from your Emacs configuration?
-
Navigating an enormous code base
rg.el or deadgrep: Emacs interfaces to ripgrep, a grep-like tool that is very fast. This lets us search across a large number of files for a pattern of text. The disadvantage of searching for text is that if you are looking for the method called foo and there are hundreds of them that exist, it can be hard to know which one you really want. On the other hand, at the scale and complexity that you are talking about, I can imagine that more IDE-like tools just start failing.
-
If you have never used wgrep with rg.el to rename a function in several files, try it | that will blow your mind
Yes in this area (text search) there is many alternatives. Wilfred Hughes (author of deadgrep) has listed them in: https://github.com/Wilfred/deadgrep/blob/master/docs/ALTERNATIVES.md
-
ripgrep is fantastic | Emacs is fantastic | BOOM you get the fantastic rg.el
Anyone interested in this should also check out deadgrep: https://github.com/Wilfred/deadgrep
- Difftastic: A diff that understands syntax
-
Is there a magit-like interface for grep?
Deadgrep does this, IIUC (I use ripgrep.el instead, but I think deadgrep does something like what you want)
-
Alternatives to two swiper/counsel commands
deadgrep is an interface to ripgrep.
Emacs-wgrep
Posts with mentions or reviews of Emacs-wgrep.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-30.
-
bulk Multiline find-and-replace?
But you probably wish something like wgrep (writable-grep), which is similar to wdired if you are familiar with that one. It will basically let you grep your files and display results in a buffer, then edit that buffer, and finally save changes to all referenced files.
-
The benefits of everything (in Emacs) being a buffer
Oh yeah, it gets even more interesting in large refactors, say an involved rename that requires you check the context before you do so (like not just global search and replace). I do a search, this opens a buffer with all results, with file name, position, all that, and Emacs can allow you to "peek" into the file without even leaving the search buffer focus (i.e use a split screen). Then, use https://github.com/mhayashi1120/Emacs-wgrep to do the magic of in-place editing.
-
Question about editing Consult/Embark ripgrep results;
If you use the grepping commands from the Consult package, consult-grep, consult-git-grep or consult-ripgrep, then you’ll probably want to install and load the embark-consult package, which adds support for exporting a list of grep results to an honest grep-mode buffer, on which you can even use wgrep if you wish.
-
Fuzzy Finding with Emacs Instead of Fzf
The `Emacs-wgrep` [1] package is what allows you to edit a standard Emacs grep buffer and have the specified changes applied to all the project's files. I just recently started using it, and it's extremely handy!
[1]: https://github.com/mhayashi1120/Emacs-wgrep
-
If you have never used wgrep with rg.el to rename a function in several files, try it | that will blow your mind
In this post we see how to rename interactively a function that appears in several files using rg.el and wgrep!
-
How to edit lines in the xref buffer?
Have you take a look at wgrep? https://github.com/mhayashi1120/Emacs-wgrep
What are some alternatives?
When comparing deadgrep and Emacs-wgrep you can also consider the following projects:
rg.el - Emacs search tool based on ripgrep
embark - Emacs Mini-Buffer Actions Rooted in Keymaps
consult - :mag: consult.el - Consulting completing-read
iedit - Modify multiple occurrences simultaneously
emacs-find-file-rg - Find file in current project using rg --files command
lunarymacs - Moon-based Emacs configuration.
dumb-jump - an Emacs "jump to definition" package for 50+ languages
melpa - Recipes and build machinery for the biggest Emacs package repo
json-diff - Structural diff for JSON files
doomemacs - An Emacs framework for the stubborn martian hacker
ido-at-point - ido-at-point
fussy - Emacs completion-style leveraging flx