Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to list and document all the keyboard shortcuts #7023
I see there has been some reworking of the keyboard shortcuts recently. The relevant tools are in
However, users need to know all the available keyboard shortcuts. Sooner or later there will be the need to have a place (internal, external?) to list all the shortcuts. Also, there will be the need to document them somewhere in the handbook.
Even as developers, we don't know how many (and which) keyboard shortcuts are currently available. The only way is to manually look for them through the codebase.
I'd like to propose to consider to make this way easier. Maybe, there should be a centralized place, a configuration file that lists all the shortcuts and can then be imported in the various components when needed? Any feedback and suggestions very welcome.
I think it would be much more discoverable, intuitive, and convenient if the shortcuts were documented in the Gutenberg UI directly, rather than making the user learn about and reference external documentation.
A few examples of that: