From d51878b74369389f741f11ee0fb1afabe89da3e2 Mon Sep 17 00:00:00 2001 From: larstvei Date: Fri, 7 Jun 2024 22:27:08 +0200 Subject: [PATCH] Disable corfu-mode when multiple cursors are enabled --- init.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.org b/init.org index 2049bf9..509347c 100644 --- a/init.org +++ b/init.org @@ -1285,6 +1285,8 @@ ;; Multiple cursors for Emacs (use-package multiple-cursors :defer t + :hook ((multiple-cursors-mode-enabled-hook . (lambda () (corfu-mode -1))) + (multiple-cursors-mode-disabled-hook . (lambda () (corfu-mode 1)))) :bind (:map custom-bindings-map ("C-c e" . mc/edit-lines) ("C-c a" . mc/mark-all-like-this)