From: Amin Bandali Date: Fri, 22 Feb 2019 18:42:05 +0000 (-0500) Subject: [emacs] unbind C-z in graphical mode X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/d831ea762b79c47ddfc632a31f71503c15f48333?ds=sidebyside [emacs] unbind C-z in graphical mode froze my emacs by accident too many damn times --- diff --git a/init.org b/init.org index d603f43..6f9789f 100644 --- a/init.org +++ b/init.org @@ -805,6 +805,9 @@ Some bindings for functions from built-in GNU Emacs packages: ("s-p" . beginning-of-buffer) ("s-n" . end-of-buffer)) + +(when (display-graphic-p) + (unbind-key "C-z" global-map)) #+end_src While at it, let's bind a few for some =straight-*= functions too: