From 4a7771b48a6081e3ea34a5330da0cf0b37dfff60 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Fri, 25 Mar 2022 15:19:46 -0700 Subject: [PATCH] Closing my single, full-screen frame ain't helpful But closing a window is. --- ha-config.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ha-config.org b/ha-config.org index 614773e..09ad43f 100644 --- a/ha-config.org +++ b/ha-config.org @@ -324,6 +324,10 @@ Why would I ever quit Emacs with a simple keybinding? Let’s override it: #+BEGIN_SRC emacs-lisp (global-set-key (kbd "s-q") 'bury-buffer) #+END_SRC +Oh, and let’s not close the frame, but instead, the window: +#+BEGIN_SRC emacs-lisp + (global-set-key (kbd "s-w") 'delete-window) +#+END_SRC *** Undo I mean, I /always/ use ~C-/~ for [[help:undo][undo]] (and ~C-?~ for [[help:undo-redo][redo]]), but since I’m on the Mac quite a bit, I want to cover my bases.