Good point.  I've pushed a new commit that uses a table for the hotkeys instead of a big "if".