DH Glide macro?

hi i hope a macro can fix my issue. whenever i tank i jump a lot just the way my thumb works i guess, so if im on DH it means gliding for that matter and im jumping everywhere sometimes i can lead to pulling extra pack and bad position.
if i remove the keybind and set it to only specific to DH, alls fine until i dragonride, double space now no longer works since i disabled it. if there is a macro somehow to make it stop that crap would be nice.