bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to define key binding for Shift-TAB in .infokey?


From: Clark Wang
Subject: Re: How to define key binding for Shift-TAB in .infokey?
Date: Fri, 11 Sep 2020 15:01:51 +0800

On Fri, Sep 11, 2020 at 2:14 PM Gavin Smith <gavinsmith0123@gmail.com> wrote:
On Fri, Sep 11, 2020 at 3:21 AM Clark Wang <dearvoid@gmail.com> wrote:
>
> I'm using "info --vi-keys" and I have the following line in my .infokey:
>
>     #info
>     \e[z    move-to-prev-xref  # Shift-TAB
>
> On macOS (info 4.8) it works fine but on my Linux (info 6.5) it reported "Unknow command (BackTab)" when I press Shift-TAB. On both systems I'm using TERM=linux and both's "infocmp" outputs "kcbt=\E[Z" .

There doesn't seem to be any way to override Shift-Tab (or BackTab) in
infokey, but fortunately it is bound to "move-to-prev-xref" by
default. This should work unless you have put "#stop" in the section
in infokey.

On my Linux, I temporarily removed ~/.infokey and tried "info --vi-keys" but still Shift-TAB did not work (the same error "Unknown command (BackTab)". I pressed h and found "move-to-prev-xref" was bound to "ESC TAB" and "M-TAB". "ESC TAB" did work for me.

-clark

reply via email to

[Prev in Thread] Current Thread [Next in Thread]