[BUG] `m` doesn't put the cursor in the correct location
Closed this issue · 1 comments
farcaller commented
Based on this golf snippet: https://github.com/mawww/golf/tree/master/4d1a1c36567bac34a9000002
Given
puts "Hello #{a}, #{b}, #{c}, #{d}"
and the sequence mfdc
Kakoune will
- select
{a}
(cursor on}
) - select
}, #{b}, #{c}, #{d
(cursor ond
) - enter insert mode with
puts "Hello #{a|}"
(cursor indicated by|
)
Dance will:
- select
{a}
(cursor on,
) - select
{a}, #{b}, #{c}, #{d
(cursor on}
) - enter insert mode with
puts "Hello #{a}|}"
(cursor indicated by|
)
farcaller commented
actually not a bug, selectionBehavior: "character"
fixes it.