deadgrep VS Emacs-wgrep

Compare deadgrep vs Emacs-wgrep and see what are their differences.

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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
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.

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.

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?
    1 project | /r/emacs | 21 Mar 2023
    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
    7 projects | news.ycombinator.com | 30 Jan 2023
    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;
    2 projects | /r/emacs | 5 Aug 2022
    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
    5 projects | news.ycombinator.com | 27 Jul 2022
    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
    6 projects | /r/emacs | 18 Apr 2022
    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?
    1 project | /r/emacs | 30 Jun 2021
    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