Re: bind allows "impossible" key bindings without warning
From:
Dale R. Worley
Subject:
Re: bind allows "impossible" key bindings without warning
Date:
Thu, 09 Jan 2025 16:22:50 -0500
Andreas Schwab <schwab@linux-m68k.org> writes:
>> It does seem like "bind" could be improved by providing an option that
>> shows all of the keysequences and what they are bound to.
>
> bind -p | sort
There's "bind -P", which lists "function names" and bindings, and then
there's "bind -S", which lists "key sequences bound to macros and the
strings they output". I suppose there isn't anything other than
function names and macros that key sequences can be bound to, but then
again, maybe someone will invent something in the future. It's not
worth any work, but conceptually, there should be an option that is
defined to list all bound key sequences, so one could write a
future-proof query for them.
Dale