Emacs-wgrep
melpa
Emacs-wgrep | melpa | |
---|---|---|
6 | 104 | |
601 | 2,683 | |
- | 0.7% | |
6.2 | 9.7 | |
4 months ago | about 8 hours ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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.
Emacs-wgrep
-
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
melpa
-
Alternatives to reddit and r/emacs to stay updated on Emacs developments
Watch the new pull requests to melpa: https://github.com/melpa/melpa/pulls
- Ask HN: What's a good, privacy focused bookmark manager?
-
Can't remove Emacs as "cask emacs is not installed"
(require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) (package-install 'use-package) (use-package exec-path-from-shell :ensure t :config (exec-path-from-shell-initialize)))
-
Trying to understand the difference between GNU ELPA and NonGNU ELPA. Plz help.
MELPA is definitely the biggest package archive, probably mostly on account of the lower barrier to entry compared to GNU ELPA (maybe the difference would have been less pronounced if NonGNU ELPA had been there from the beginning, but one can only speculate). MELPA has its own requirements for packages, but indeed copyright assignment to the FSF is not one of them.
- What is your favorite IDE?
- New minimalistic dashboard.
-
is there like a resource where I can learn how to create an elisp project
I would suggest to start at reading the manual first. Then I would recommend reading the Melpa guidance, even if you do not plan to contribute your package to Melpa, since it contains very useful info about linting, writing your code etc.
-
melpa.org blacklisted ?
The mxtoolbox link checks for SMTP blacklisting.. People won't be able to send mail from host with the IP address 178.128.185.1(which is the melpa.org webserver, not their mailserver, so everything's fine there).
-
xah-fly-keys not on melpa?
Xah asked for his packages to be removed from MELPA a while back: https://github.com/melpa/melpa/issues/7755
-
Elisp project best practices
Observe that package.el compile files when they are installed, and they are not compiled in any particular order (actually whatever directory-files returns, which is what OS returns). So if you have multiple files that depend on each other, it is something to think of. There are also some guidelines on how to structure your project on Melpa.
What are some alternatives?
deadgrep - fast, friendly searching with ripgrep and Emacs
straight.el - 🍀 Next-generation, purely functional package manager for the Emacs hacker.
embark - Emacs Mini-Buffer Actions Rooted in Keymaps
elpa-mirror - Create local emacs package repository. 15 seconds to install 115 packages.
iedit - Modify multiple occurrences simultaneously
use-package - A use-package declaration for simplifying your .emacs
lunarymacs - Moon-based Emacs configuration.
nano-emacs - GNU Emacs / N Λ N O - Emacs made simple
doomemacs - An Emacs framework for the stubborn martian hacker
emacs-undo-fu
fussy - Emacs completion-style leveraging flx
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]