[show-hint addon] Change the mechanism by which keymaps are overridden

The old one was a horrible hack.