Re: [Fish-users] How to bind a key sequence to another key sequence?

2017-03-20 Thread Shiyao Ma
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 ,

Re: [Fish-users] How to bind a key sequence to another key sequence?

2017-03-20 Thread Kurtis Rader
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

Re: [Fish-users] How to bind a key sequence to another key sequence?

2017-03-20 Thread Kurtis Rader
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

[Fish-users] How to bind a key sequence to another key sequence?

2017-03-20 Thread Shiyao Ma
Hi, 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? Regards. -- Check out