>
> > 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" .
>
> 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.
I hadn't seen that you were using --vi-keys. I'd recommend putting all
the key bindings (from Info node '(info-stnd)infokey format') into
.infokey and not using the --vi-keys option.
Yes I'm using --vi-keys and I have all my bindings in .infokey (with #stop in #info section). I did a try and to me it behaves the same with or without --vi-keys.
The other thing to try is to specify "key-time=0" in the #var section of
.infokey. However, this did not make any difference when I tested it.
"Alt-Tab" would work as long as it is not intercepted by your window manager.
Finnally I'm using < and >
< move-to-prev-xref
> move-to-next-xref
Thanks.
-clark