Restore multiple-selections upon hitting `g.`
lenormf opened this issue · 1 comments
lenormf commented
Steps
In kak -n
:
% a-s A i esc space
g.
Outcome
The selection is set to the last inserted i
.
Expected
Both i
that were inserted on both lines are selected, in a multiple selection.
HTH.
Delapouite commented
Looks like g.
is currently related to the last_modification_coord
:
https://github.com/mawww/kakoune/blob/master/src/normal.cc#L312-L322
which itself relies on the last undo_group
:
Lines 702 to 707 in a2fce67
So it's not really tied to the concept of selections yet.