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 <kra...@skepticism.us>, wrote:
> > On Mon, Mar 20, 2017 at 9:19 PM, Shiyao Ma <i...@introo.me> 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 bind a key sequence to any 
> > sequence of commands, not just a function. It doesn't make sense to execute 
> > `bind abc ab` where the final `ab` in that command refers to the character 
> > sequence in `bind ab some_function`.
>
> --
> Kurtis Rader
> Caretaker of the exceptional canines Junior and Hank
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to