From 63a94698a2d8708a718337d111c35ae2655c71b3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 18 Jul 2020 16:59:54 -0400 Subject: [PATCH] Fix #3509: add swiper-mc to mc/cmds-to-run-once --- modules/editor/multiple-cursors/config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/editor/multiple-cursors/config.el b/modules/editor/multiple-cursors/config.el index 7106fe22d..8b4fae201 100644 --- a/modules/editor/multiple-cursors/config.el +++ b/modules/editor/multiple-cursors/config.el @@ -143,6 +143,9 @@ (defvar +mc--compat-evil-prev-state nil) (defvar +mc--compat-mark-was-active nil) + (after! swiper + (add-to-list 'mc/cmds-to-run-once 'swiper-mc)) + (add-hook! 'multiple-cursors-mode-enabled-hook (defun +multiple-cursors-compat-switch-to-emacs-state-h () (when (and (bound-and-true-p evil-mode)