Closing my single, full-screen frame ain't helpful
But closing a window is.
This commit is contained in:
parent
6ddd2f6c95
commit
4a7771b48a
1 changed files with 4 additions and 0 deletions
|
@ -324,6 +324,10 @@ Why would I ever quit Emacs with a simple keybinding? Let’s override it:
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(global-set-key (kbd "s-q") 'bury-buffer)
|
(global-set-key (kbd "s-q") 'bury-buffer)
|
||||||
#+END_SRC
|
#+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
|
*** 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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue