Edit a macro

August 27, 2015

So you’ve recorded a macro and made a mistake? It’s OK, happens to everyone. Just use kmacro-edit-macro to edit it (not bound in a Spacemacsy way by default, use SPC : to search for it). Edit the macro that you’re interested in and it C-c C-c (control-c twice) to commit your changes.

Update from geo7: If one creates a macro using q<char> (as in Vim) then edits using the tip explained here, it will then have to be called using the standard emacs method of f4.

Tip from deech. Thanks!

If you've got a tip you'd like to see here, submit it.