Open
Description
Version of Kakoune
v2024.05.10
Reproducer
Ok this is a little confusing to write out because we're dealing with literally writing out things that would normally signify a key press.
to reproduce bug type these two expressions out in kakoune
:exec i<control r literal char>#
written likeexec i
then insert the<c-r>
char by pressing<c-v><c-r>
then adding#
after:exec i<c-r>#
when written char for char literally
these output different results
Outcome
output of first expression
-> writes #
at each cursor
output of second expression
-> writes the index of the cursor at each cursor
Expectations
both expressions should write the index of each cursor at each cursor
the <c-r>
literal character should be evaluated the same as literally typing out <c-r>
Additional information
I've already tried enclosing the expressions in quotes, it doesn't make a difference
Activity