Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just switched back to Windows at work for the first time in like... almost 20 years. I'm dying without readline-style controls. If this can offer those, I'm going to jump for joy. I already have the Magic Keyboard Utilities to let me use my mac keyboard as a Windows keyboard and put things in sensical places. (Left Fn & Ctrl -> Ctrl, Left Option -> Meta, Left Command -> Alt, Right Command -> Function modifier, Right Option -> Windows Key) But my god no readline (^a / ^e etc) and I'm just losing my mind.


What you call readline controls I call wordwise - but yes that is indeed supported by Kinto. You will want to undo any of your custom remaps on modifier keys before you install Kinto as it will not be aware of your own remapping attempts. Going forward you would also be best served by updating new keymaps in ~/.kinto/kinto.py if you can do so.

I do not yet have a method though to help you easily keep your changes when upgrading to newer Kinto versions. I will try to add a git like merging ability to the updates later on though, so custom local changes will be preserved.


I got ^a and ^e with PowerToys' Keyboard Manager with the remap setup as https://imgur.com/a/HXTxPSU. Works well with Windows Terminal + WSL.


Nope, guess not.


Can you elaborate what you mean by readline style controls? Looked it up but that didn't help.


"GNU readline" is the name of the library that handles interactive shell. It has support for emacs and vim keyboard shortcuts.

https://en.wikipedia.org/wiki/GNU_Readline


On macOS, Ctrl+a (^a) goes to the beginning of the line, Ctrl-e (^e) goes to the end. On Windows you can do [Home] and [End] respectively iirc.

I think "readline-style controls" refers to a more letter-based approach, instead of special keys? i.e. ^a, ^e, ^w...


Ah I see. I didn't know that. Usually I use option arrow keys or command arrow keys for that. Hopefully this supports those.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: