alexherbo2 / kakoune.cr

A command-line tool for Kakoune
https://kakoune.org
The Unlicense
54 stars 11 forks source link

kcr edit doesn't play well with kakoune-state-save #9

Closed gustavo-hms closed 3 years ago

gustavo-hms commented 3 years ago

Hi, @alexherbo2 !

If I have the kakoune-state-save plugin installed and open a file in Kakoune, it restores the selections from a previous edit.

It also works if I open the file using kak -p:

echo "edit somefile" | kak -p #session

However, if I do the same using kcr edit somefile, selections are not restored.

alexherbo2 commented 3 years ago

Re @gustavo-hms,

I was living happy with this bug until you mentioned it. XD

I also use kakoune-state-save, so thank you very much.

gustavo-hms commented 3 years ago

Thank you for fixing it, and particularly for being so fast!