Hi,
On my terminal, ctrl+enter generates a seq of "^[[27;5;13~"
I'd like to bind it to a plain "enter". So pressing ctrl+enter is the same as
pressing a mere "enter".
I tried
bind \e"[27;5;13~" \r
but with no success.
On Mar 21, 2017, 12:43 +0800, Kurtis Rader , wrote:
> > On Mon, Mar 20,
On Mon, Mar 20, 2017 at 9:44 PM, Shiyao Ma wrote:
>
> On my terminal, ctrl+enter generates a seq of "^[[27;5;13~"
> I'd like to bind it to a plain "enter". So pressing ctrl+enter is the
> same as pressing a mere "enter".
>
> I tried
> bind \e"[27;5;13~" \r
>
> but with no success.
>
What you wan
On Mon, Mar 20, 2017 at 9:19 PM, Shiyao Ma wrote:
> How to bind a key sequence to another key sequence?
>
> Reading the `man bind', I can only figure out how to bind a key sequence
> to a function.
>
> But what about binding it to another key sequence?
>
I do not understand the question. You can