Atuin currently has editing key bindings that are fairly similar to GNU Readline, which in turn is fairly similar to emacs
You can see a full list here: GNU Readline - Wikipedia
This is good for new users, as it ensures that their editing experience is consistent
However, it has made future features a bit trickier to implement. Looking through that list, most ctrl- bindings have been taken already for editing. Many of these bindings are equivalent to others. For example, ctrl-p → up arrow.
While I can appreciate the familiarity of an editing experience, I’d rather avoid making our own keybindings more complicated and emacs-y
I’d also love to be able to use ctrl-i to open an inspector for the currently selected command - but readline has that as another way to type “tab”.
Otherwise, ctrl-h for… help. But again, readline has that as another way to press backspace.
I’m very tempted to claim some of those for our own uses, but inevitably that will cause friction for some users. Other modifier keys lack consistent and reliable support - such as alt, super, cmd, etc.
In all likelihood, I’ll be breaking some of our readline parity in favour of more flexibility for development.
We do have an open issue for custom key bindings
but even when that is done, the defaults may feel a bit alien to some people.
Just creating this as a discussion to see if anyone has feedback or suggestions
One potential option is leaving as-is, but adding ctrl-shift-<char>
to be our bindings, though these are not supported by all terminals