Fix :mc/REGEXP not placing real cursor in correct position
With ':mc/abc' we should get a b c a b [a]bc a [a]bc c [a]bc b c a b c Instead, we got a b c a b abc a [a]bc c [a]bc b c a b c And the real cursor would be somewhere else (on the same column it was left in when you were in visual mode).
This commit is contained in:
parent
f83499c7a7
commit
abb9ab7674
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ PATTERN as literal. PATTERN is a delimited regexp (the same that :g or :s uses).
|
|||
FLAGS can be g and/or i; which mean the same thing they do in
|
||||
`evil-ex-substitute'."
|
||||
:evil-mc t
|
||||
:keep-visual t
|
||||
(interactive "<R><//!><!>")
|
||||
(unless (and (stringp pattern)
|
||||
(not (string-empty-p pattern)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue