From 9557f53e775ffa9e7f86dfa2371b856c60835cca Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sat, 6 Mar 2021 14:58:31 +0800 Subject: Disable C-z It is annoying to press that key-binding by accident, as that will minimize Emacs. --- basic.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'basic.el') diff --git a/basic.el b/basic.el index 0715aea..8a3b12f 100644 --- a/basic.el +++ b/basic.el @@ -207,6 +207,10 @@ window, then also delete the selected window." (define-key global-map (vector ?\M-y) #'yank-pop) (define-key global-map (vector ?\C-\M-y) #'yank-complete) +;;; disable C-z. That has been constantly annoying. + +(define-key global-map (vector ?\C-z) #'intentionally-disabled-bind) + ;;; Repeating pops ;;;###autoload -- cgit v1.2.3-18-g5258