I'd like to define a set of files within which I can search and replace text.
To clarify:
I would like to be able to search, e.g., in all files xk*.tex in a given directory (and excluding backup files). I would also like to be able to change the expression, e.g., "uncertainty", to "indeterminacy" in all files dd*.sh and ee*.cls .
What is the standard way to do this?
dired
for doing find and replace over a subset of files in a given directory. – Squidly Feb 23 '15 at 12:48ag
,wgrep
andmultiple-cursors
. – Kaushal Modi Sep 29 '15 at 02:30helm-ag
works great for this. https://yamadapc.github.io/posts/emacs/workflow/2015/03/11/using-helm-ag.html – Chris Stryczynski Oct 11 '21 at 15:42