logoalt Hacker News

TacticalCoderyesterday at 8:17 PM1 replyview on HN

> Also, wgrep-mode for editing files is amazing

Emacs is amazing: I'm using it since the nineties and I've got quite the custom config. I've got zero clue has to what wgrep-mode is.


Replies

minikomiyesterday at 9:56 PM

wgrep-mode lets you collect matches from `grep` or `rg` into an editable buffer. Once you’ve finished editing, it propagates the changes back to the original files.