summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-02-22 13:42:05 -0500
committerAmin Bandali <bandali@gnu.org>2019-02-22 13:42:05 -0500
commitd831ea762b79c47ddfc632a31f71503c15f48333 (patch)
tree4261f05b1346b580b94bbf69bb389cd43024b975
parent4c52b20e3ea95119afb6dd12787d899926917054 (diff)
downloadconfigs-d831ea762b79c47ddfc632a31f71503c15f48333.tar.gz
configs-d831ea762b79c47ddfc632a31f71503c15f48333.tar.xz
configs-d831ea762b79c47ddfc632a31f71503c15f48333.zip
[emacs] unbind C-z in graphical mode
froze my emacs by accident too many damn times
-rw-r--r--init.org3
1 files changed, 3 insertions, 0 deletions
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: