diff options
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index cea6710..8c7ea70 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -392,6 +392,9 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." ;; My brain is not ready for advanced emacs undo (setopt undo-no-redo t) +(global-unset-key (kbd "C-z")) +(global-set-key (kbd "C-z") 'undo) +(global-set-key (kbd "C-S-z") 'undo-redo) ;; Saving ;; Backups are pointless in long emacs sessions, but autosaves are useful. |