yi-editor / yi

The Haskell-Scriptable Editor
GNU General Public License v2.0
1.5k stars 199 forks source link

Kakoune keymap #1096

Open rehno-lindeque opened 5 years ago

rehno-lindeque commented 5 years ago

Is there any existing work out there towards a kakoune keymap?

If not, would there be any interest in merging something like this? Also curious if people would foresee any technical difficulties. E.g. level of difficulty to support kakoune's anchor/cursor distinction, rotating "main" selection, and so forth?

noughtmare commented 5 years ago

I'm pretty sure there is no such work yet.

I'm not familiar with kakoune, but from looking at the documentation it seems that multiple cursors (#1055) are the best place to start, because Yi doesn't currently have support for that feature. I think it is going to be a lot of work.

That said, we always welcome contributions. Work on a kakoune keymap will probably also improve other aspects of the editor.

rehno-lindeque commented 5 years ago

I was mistakenly under the impression that there was some multiple cursors support already due to the nice way visual blocks work in the vim keymap.

Thank you for pointing me to #1055. I don't want to start something that I wouldn't be able to finish and basic multiple cursors support seems like a bit of work. I may revisit this in time once there's more building blocks to work with.