Open NNBnh opened 2 years ago
Pepper does not really have a way to save cursors to a register. What it does is save a path + line + column (main cursor's position). It could indeed be extended to support multiple cursors as #54 suggests.
However, I'm not sure how that would work when trying to combine cursors from another file.
Say you're on buffer a
and bookmark it's current cursor state to register p
.
Then you open buffer b
.
Now would 'append cursors from register p
' ignore that they're buffer a
cursors?
Or do nothing in that case? Or even just go to buffer a
and restore its selections?
Sorry for the late reply.
However, I'm not sure how that would work when trying to combine cursors from another file. Say you're on buffer
a
and bookmark it's current cursor state to registerp
. Then you open bufferb
. Now would 'append cursors from registerp
' ignore that they're buffera
cursors? Or do nothing in that case? Or even just go to buffera
and restore its selections?
So I have reinstall Kakoune and try this out:
Both display this message:
We could make Pepper behave the same.
This would help a lot with manipulate complex multi selection. From Kakoune's keys docs:
(I don't think <, >, + and - is useful)
This require #54 to be done.