emacs/var/elfeed/db/data/09/09a164b0d5749f594979747391954fe006efff9f
2022-01-03 12:49:32 -06:00

4 lines
1.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>If youre like me, you <i>hate</i> dealing with text outside of Emacs. Even those of us who spend as much time as we can inside Emacs have to interact with other applications. In my case, thats mostly Safari. The problem with Safari is that its architecture doesnt allow extensions that will call Emacs to edit text fields the way, say, Firefox does.</p>
<p>MacOS, of course, recognizes many of the Emacs keybindings but you can do much better. For many years, Ive used the operating systems ability to assign keys to editing functions to <a href="http://irreal.org/blog/?p=259">install a fairly comprehensive set of Emacs editing keybindings</a> but while that helps with muscle memory, its not really like editing with Emacs. Ive long wished for a way of popping into Emacs to edit the text fields from other apps.</p>
<p>Now, happily, my wish has been answered. Take a look at <a href="https://www.youtube.com/watch?v=jYUKYpXL6rI">this video</a> by dmgerman that demonstrates his <a href="https://github.com/dmgerman/editWithEmacs.spoon">Edit with emacs Everywhere</a> package. It provides just what youd want: if youre in any text field in any Mac application, you can press a key sequence to put up an Emacs buffer in which you can edit the text in the field and then return the edited text to the calling app. The important thing here is that youre not just using Emacs keybindings but using Emacs itself with all its power. Perfect!</p>
<p>The package depends on <a href="https://www.hammerspoon.org/">Hammerspoon</a> to mediate with the OS. Its easy to install and, of course, is more generally useful but even if it werent, giving us the ability to edit <i>all</i> text fields with Emacs is worth the price of admission.</p>