From e8638eb4317a2efaf5546bc40a2e1b1a9cf5a81e Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Sun, 10 Feb 2019 14:49:18 -0500 Subject: [PATCH] Add evil fine undo --- lain/.emacs.d/config.org | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lain/.emacs.d/config.org b/lain/.emacs.d/config.org index 73df382..93bf5fa 100644 --- a/lain/.emacs.d/config.org +++ b/lain/.emacs.d/config.org @@ -151,10 +151,7 @@ Also set up a leader key and prefixes, like =\= in Vim. (use-package evil :diminish undo-tree-mode - :init - (setq evil-want-integration t) - (setq evil-want-keybinding nil) - + :preface (defun jf-window-split () (interactive) (evil-window-split) @@ -179,7 +176,12 @@ Also set up a leader key and prefixes, like =\= in Vim. "j" #'evil-window-right "k" #'evil-window-down "l" #'evil-window-right - "o" #'other-frame)) + "o" #'other-frame) + + :custom + (evil-want-integration t) + (evil-want-keybinding nil) + (evil-want-fine-undo t)) #+END_SRC ** Evil Collection [[https://github.com/emacs-evil/evil-collection][Evil Collection]] adds Evil bindings for all the parts of Emacs that Evil