Disable corfu-mode when multiple cursors are enabled

This commit is contained in:
larstvei 2024-06-07 22:27:08 +02:00
parent 3d0031251b
commit d51878b743

View File

@ -1285,6 +1285,8 @@
;; Multiple cursors for Emacs ;; Multiple cursors for Emacs
(use-package multiple-cursors (use-package multiple-cursors
:defer t :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 :bind (:map custom-bindings-map
("C-c e" . mc/edit-lines) ("C-c e" . mc/edit-lines)
("C-c a" . mc/mark-all-like-this) ("C-c a" . mc/mark-all-like-this)