From f7dd627478e57fe9841222d9271762b5141fb2f2 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sun, 9 Mar 2025 12:18:17 -0400 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3b82d3b..5a5f0d3 100644 --- a/README.md +++ b/README.md @@ -539,18 +539,19 @@ Configuring Vim keybindings in Emacs can greatly enhance your editing efficiency ``` emacs-lisp ;; Vim emulation +(eval-when-compile + ;; Required by evil-collection + (setq evil-want-integration t) + (setq evil-want-keybinding nil)) + +;; Uncomment the following if you are using undo-fu +;; (setq evil-undo-system 'undo-fu) + (use-package evil :ensure t :defer t :commands (evil-mode evil-define-key) - :hook (after-init . evil-mode) - :init - ;; Uncomment the following if you are using undo-fu - ;; (setq evil-undo-system 'undo-fu) - - ;; Required by evil-collection - (setq evil-want-integration t) - (setq evil-want-keybinding nil)) + :hook (after-init . evil-mode)) (use-package evil-collection :after evil