How to find-replace globally in emacs

June 13, 2020

Raw from my notes:

post: how i global-find-replace

just got global find-replace going again

ivy-occur is close

wgrep is another keyword

the how-to is

:pg search-term

C-c C-o to get to ivy-occur ?

C-x C-q to start editing

ZZ to enforce (or ZQ to abort)

big help:



capture this as a function, as a comic

this is obviously way too hard!

C-c C-o C-x C-q <- seriously? these letters make no sense then: Z Z b/c of course.

remembering this is basically impossible unless you are familiar with the inner 'chords', but they are not common enough/well understood by my vimmery maybe i didn't know vim that well


Russell Matney

Russell Matney

Writing, Stories, Software, Indie Games


© 2020