Make a new API for registering shortkeys. Use it to allow setting up all the shortkeys in a single place in the configuration window.