EXWM and Keyboard Macros

Being a Mac user, I don’t get to play but I’ve always loved the idea of EXWM, probably because it moves Emacs closer to recapitulating the Lisp Machine. Other than making all windows Emacs windows, I never thought too much about the power it unlocks but Tory Anderson shows a brilliant workflow that EXWM enables.

You can almost do this without EXWM but the browser keystrokes won’t be captured by the keyboard macro. Really, this is just the familiar Emacs workflow involving keyboard macros across multiple windows. What EXWM brings is the ability to treat the nominally non-Emacs browser window as just another Emacs window.

While Anderson doesn’t completely describe the task he’s trying to complete, I suppose those of us without access to EXWM might be able to do the same thing with eww instead of Firefox but I haven’t tried it. Regardless, it’s a cute trick and a win for EXWM.

This entry was posted in General and tagged . Bookmark the permalink.