Is there a way to print or export the list of hotkeys?

You can get the command list and assigned hotkeys using Dataviewjs according to Moonbase59’s script.