diff --git a/init.el b/init.el index d776629..0246ea8 100644 --- a/init.el +++ b/init.el @@ -375,7 +375,12 @@ visual states." (global-corfu-mode 1) (corfu-popupinfo-mode 1) :config - (add-to-list 'corfu-continue-commands #'corfu-move-to-minibuffer)) + ;; temp fixes for evil-collection#766 + (advice-remove #'corfu--setup #'evil-normalize-keymaps) + (advice-add #'corfu--setup :after (lambda (&rest _) (evil-normalize-keymaps))) + (advice-remove #'corfu--teardown #'evil-normalize-keymaps) + (advice-add #'corfu--teardown :after (lambda (&rest _) (evil-normalize-keymaps))) + (add-to-list 'corfu-continue-commands #'my/corfu-move-to-minibuffer)) (use-package corfu-terminal :init (corfu-terminal-mode 1))