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