kiro-editor icon indicating copy to clipboard operation
kiro-editor copied to clipboard

Custom keybindings

Open ClementNerma opened this issue 4 years ago • 2 comments

Hi there!

First of all thanks for this amazing project, I'm really enjoying at the moment.

A thing I miss though is the ability to remap keybindings. For instance, I'm used to deleting a world with Ctrl-Backspace, and multi-select text with Ctrl-D.

I didn't see any kind of configuration file or options, so I'd like to know if this feature could be implemented? I think many people would enjoy to remap the keybindings as well.

Thanks in advance :)

ClementNerma avatar Nov 05 '20 10:11 ClementNerma

I'd like to work on that. @rhysd is there any format of settings you think is best? (RON, JSON, TOML...)

ChayimFriedman2 avatar Feb 24 '21 18:02 ChayimFriedman2

@ChayimFriedman2 Thank you for raising hands to implement this.

Actually I was not willing to implement this because it introduces complications and overhead on launching editor. However I also agree that default key shortcuts are not good for everyone.

So I'm glad to review and merge the changes to address this. I want to review the spec at first. Would you make 'Configuration' section in README.md after 'Usage' section and describe the specification you're considering and create a WIP pull request before implementing it?

is there any format of settings you think is best? (RON, JSON, TOML...)

I think TOML is the best. JSON is serialization format, not for configuration (it does not provide comments syntax). RON is not popular as configuration file. YAML is too complicated.

rhysd avatar Mar 01 '21 11:03 rhysd