Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: key binding not working [SOLVED]



On Mon, Sep 26, 2022 at 8:05 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> On 2022-09-26 06:59, Ray Andrews wrote:
>
> > Hey, supposing we concluded solved threads with some indication, like
> > I'm experimenting with in my subject line?
> >
> A wee bit more trouble but at least I figgered it out myself.  HOME and
> END stopped working.
>
> Used to work:
>
> bindkey "\eOH"  beginning-of-line
> bindkey "\eOF"  end-of-line
>
> ... but now:
>
> # 2022-09-26: These are the new values for HOME and END:
> bindkey "\e[H"  beginning-of-line
> bindkey "\e[F"  end-of-line

Different terminals send different byte sequences when you press keys.
See my previous email for a solution that will render you immunite to
this.

Roman.

P.S.

Your changing the subject broke threading. I think it's not a good idea
to do that. Posting "yeah, it works" is a good idea though.




Messages sorted by: Reverse Date, Date, Thread, Author