[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to define key binding for Shift-TAB in .infokey?
From: |
Gavin Smith |
Subject: |
Re: How to define key binding for Shift-TAB in .infokey? |
Date: |
Fri, 11 Sep 2020 07:14:06 +0100 |
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.