~protesilaos/substitute

Efficiently replace targets in the Emacs buffer or context
Document correct symbol for hook in sample configuration
Bump version to trigger GNU ELPA rebuild
Enable empty string substitution

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~protesilaos/substitute
read/write
git@git.sr.ht:~protesilaos/substitute

You can also use your local clone with git send-email.

#Substitute (substitute.el) for GNU Emacs

Efficiently replace targets in the buffer or context.

Substitute is a set of commands that perform text replacement (i) throughout the buffer, (ii) limited to the current definition (per narrow-to-defun), (iii) from point to the end of the buffer, and (iv) from point to the beginning of the buffer.

These substitutions are meant to be as quick as possible and, as such, differ from the standard query-replace (which I still use). The provided commands prompt for substitute text and perform the substitution outright.

Video demo: https://protesilaos.com/codelog/2023-01-16-emacs-substitute-package-demo/