curusarn / resh

RESH ❯❯ Contextual shell history for zsh and bash
MIT License
1.01k stars 19 forks source link

RESH CLI: Some missing common key-bindings #104

Open volca02 opened 4 years ago

volca02 commented 4 years ago

Could you please consider adding these common key bindings to the RESH CLI UI?

<C-g> Typically means Quit
<C-d> Ditto, quit/exit command
<M-backspace> Erase whole word backwards

Also some keystrokes produce escape sequences, such as CTRL with arrow keys.

curusarn commented 4 years ago

I have added keybindings for <C-g> and <C-d>. (v2.5.26)

The cli library I'm using seems to be having issues with Meta keybindings. I will need to switch to a different cli library because of this and some other issues.

Thanks for the suggestion.