diff options
Diffstat (limited to '.config/emacs/text-editing.el')
| -rw-r--r-- | .config/emacs/text-editing.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/emacs/text-editing.el b/.config/emacs/text-editing.el index a80f3a2..38ceff0 100644 --- a/.config/emacs/text-editing.el +++ b/.config/emacs/text-editing.el @@ -40,3 +40,9 @@ (add-hook 'c-mode-common-hook (lambda () (setq c-basic-offset 4))) + +;; undo +(use-package vundo + :ensure t) +(global-set-key (kbd "C-/") 'undo-only) +(global-set-key (kbd "C-?") 'undo-redo) |
