Disable keybind when mounted?

I’m pretty new to this add-on. The Keybind I have to use is also the one I used to Surge forward when I’m mounted. Is there any way to disable the key bind when I’m mounted or is there another way to do this? I remember this add-on used to use macros instead of key binds. That would pretty much fix my problem if I could use it the old way with just macros.