deadgrep
iedit
Our great sponsors
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
-
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 -
-
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.
iedit
-
Looking for a package that would highlight a repeated word in the current paragraph
Try iedit https://www.emacswiki.org/emacs/Iedit.
-
If you have never used wgrep with rg.el to rename a function in several files, try it | that will blow your mind
Then, in *rg* buffer, we transform org-link-expand-abbrev into org-link-RENAMED the way we prefer (we have all the Emacs power, some of us might use query-replace, other might use multiple-cursors.el, other iedit, etc.). And so *rg* buffer looks like this:
-
Creating multiple cursors from symbol under point
I've discovered iedit, which allows me to C-; over any string and edit all occurrences of it simultaneously, à la multiple-cursors. The default behaviour is that, by pressing C-; only once, it selects all occurences of the string in the whole buffer. Is there a way to expand the selection to each new match one at a time? For those familiar with, I'm basically trying to replicate Sublime Text's functionality when you Ctrl/Cmd-D over any string.
- Helix: a post-modern text editor
What are some alternatives?
rg.el - Emacs search tool based on ripgrep
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
consult - :mag: consult.el - Consulting completing-read
history - Emacs - History utility for source code navigation.
emacs-find-file-rg - Find file in current project using rg --files command
visual-regexp-steroids.el - Extends visual-regexp to support other regexp engines
dumb-jump - an Emacs "jump to definition" package for 50+ languages
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
Emacs-wgrep - Writable grep buffer and apply the changes to files
kernel-wasm - Sandboxed kernel mode WebAssembly runtime.
json-diff - Structural diff for JSON files