(require 'evil)
(evil-mode 1)
(setq evil-move-cursor-back nil) ;; Entering and leaving insert mode is idempotent
(require 'evil-mc)
(global-evil-mc-mode 1)
Given a buffer with the following text:
a b c
a b c
a b c
Place your cursor on b in the first line then run evil-mc-make-and-goto-next-match twice (C-n C-n). You should now have a fake cursor on the first two bs, and the real cursor on the third.
Run evil-substitute (s).
Expected result:
a c
a c
a c
Actual result:
a bc
a bc
a c
In both cases, you should be in insert state as expected.
Running emacs 27.2 with just this config:
Given a buffer with the following text:
Place your cursor on
b
in the first line then runevil-mc-make-and-goto-next-match
twice (C-n C-n
). You should now have a fake cursor on the first twob
s, and the real cursor on the third. Runevil-substitute
(s
). Expected result:Actual result:
In both cases, you should be in insert state as expected.