Search+Replace across multiple files in Emacs
Raw link: https://www.youtube.com/watch?v=rLF9oTmVFsc
In this video I demonstrate a few techniques to replace search matches across a number of files or buffers, using a variety of tools. The tools I use involve:
counsel-git-grep
, which is powered by theivy
completion framework and which can edit its output withwgrep
.ivy-switch-buffer
, followed byibuffer
andoccur
.dired
, followed by an interface that looks like that ofoccur
.
Other commands where query-replace
and keyboard macros.
For my setup check my dotemacs. The
theme used in this video is “Modus Operandi” (modus-operandi-theme
)
which is available on MELPA. For more, check the Modus themes on
GitLab.