summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2025-04-29 15:22:09 +0800
committernoa2025-04-29 15:22:09 +0800
commitcb9e24049d78fed2eb800c88efaf93e161a8161f (patch)
tree38fd1d9ae30c6a5668b98a4e507f6e8a72aab442 /emacs
parent788b8e049f9f3a5572a1f06d7915bbd52c0441ab (diff)
Don't use C-z for undo
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 7c9da3d..94f60fb 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -889,9 +889,7 @@ With prefix argument TIME, also add the current time."
   ;; Hide commands in M-x which do not work in the current mode.
   (read-extended-command-predicate 'command-completion-default-include-p)
   ;; My brain is not ready for advanced emacs undo
-  (undo-no-redo t)
-  :bind (("C-z" . undo)
-         ("C-S-z" . undo-redo)))
+  (undo-no-redo t))
 
 (use-package help
   :defer t