nchat icon indicating copy to clipboard operation
nchat copied to clipboard

Better shortcuts customization

Open Bellavene opened this issue 3 years ago • 3 comments

Tried to bind alt instead of ctrl for main tasks without luck.

Bellavene avatar Jun 05 '22 09:06 Bellavene

Temporary managed it with custom terminal profile, not the most elegant solution, but it works.

Bellavene avatar Jun 07 '22 13:06 Bellavene

As you mentioned in #12 there are capabilities for this implemented, but it's perhaps not easily accessible.

I'll leave this issue open for now and see if we can improve the customization usability.

d99kris avatar Jun 18 '22 13:06 d99kris

Thank you. iTerm has support for automatic profile switching per app. So you can bind any keys through it and manage them through custom profiles. If it helps somebody. But I see a problem if you want to control nchat through ssh or terminal without support for such features.

Bellavene avatar Jun 20 '22 23:06 Bellavene

In commit 0239998 improved support for custom key bindings was implemented - enabling setting custom keys by their octal values.

Also, in commit 3bba971 a "key dump mode" was added - so if you start the program like this nchat -k it will just dump out the octal key values for any keys pressed. The intention is to make it easier to determine what values to put in ones ~/.nchat/key.conf.

Let me know if you encounter any issues. Will proceed to close this issue now.

d99kris avatar Oct 08 '22 10:10 d99kris