diff options
author | Alan Pearce | 2020-11-26 10:17:29 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-26 10:17:29 +0100 |
commit | cfc78b6548f97733f156c8b02243f7346930d10d (patch) | |
tree | b4b4d60b9763328db3d1e211667f72c044c1f555 /user | |
parent | d2f23109a0c630c2487d580ea25998e6b5bd0864 (diff) | |
download | nixfiles-cfc78b6548f97733f156c8b02243f7346930d10d.tar.lz nixfiles-cfc78b6548f97733f156c8b02243f7346930d10d.tar.zst nixfiles-cfc78b6548f97733f156c8b02243f7346930d10d.zip |
Emacs: use undo-tree as undo system in evil
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 785046a4..4b0cdcd2 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -281,7 +281,8 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :commands (evil-mode evil-delete-buffer evil-ex-define-cmd) :config (progn (setq-default evil-shift-width 2) - (setq evil-mode-line-format nil) + (setq evil-mode-line-format nil + evil-undo-system 'undo-tree) (add-to-list 'evil-emacs-state-modes 'eshell-mode) (add-to-list 'evil-emacs-state-modes 'ledger-reconcile-mode) (evil-mode +1)) |