In OSX' iTerm, you can instantly show/hide the window by the (default) alt-space keys.

How can I configure emacs to have similar functionality? I want to run GUI emacs, and be able to show/hide it on whim.

  • 1
    Do either of these hide Emacs like you want? M-x ns-do-hide-others and M-x ns-do-hide-emacs To bring it up, you could just put the Emacs shortcut on your dock, and type Control+F3 (to switch focus to the dock) and type emacs quickly and hit the return key (probably just typing the first couple of letters sufficient, depending upon how many icons you have on the dock that begin with the same letters). You can bind those ns... functions to whatever you want. – lawlist Jun 15 '15 at 4:27

Quicksilver can be used on the Mac to create a global keyboard shortcut to activate Emacs - for example I have F1 to bring up a terminal, F2 to bring up Emacs, F3 to bring up Firefox. With these in place I don't find much of a need to hide applications as the one appears over the top of the old one, but as the previous poster said, you can bind "ns-do-hide-emacs" to hide it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.