Create a simple interface in settings to allow keyboard shortcuts to be edited by the user. A good example of how this works is Obsidian.