From 1cad02838220ab7e6c7a329a2689e9173fcf586a Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Fri, 14 Mar 2025 14:10:18 -0400 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 586853e..9f88851 100644 --- a/README.md +++ b/README.md @@ -568,8 +568,10 @@ Configuring Vim keybindings in Emacs can greatly enhance your editing efficiency ``` emacs-lisp ;; Required by evil-collection -(setq evil-want-integration t) -(setq evil-want-keybinding nil) +(eval-when-compile + ;; It has to be defined before evil + (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) @@ -581,6 +583,10 @@ Configuring Vim keybindings in Emacs can greatly enhance your editing efficiency :commands (evil-mode evil-define-key) :hook (after-init . evil-mode)) +(eval-when-compile + ;; It has to be defined before evil-colllection + (setq evil-collection-setup-minibuffer t)) + (use-package evil-collection :after evil :ensure t