In macOS at least you can remap any key as well as keyboard shortcut (both globally and per-app) from the built in OS keyboard preferences. The only thing it requires is that the thing you want to change has a "menu item" (so a named thing in the top menu bar in any of the submenus). Hotkey mapping works by simply mapping to any of the texts in those (sub) menus, however deep you want to go. The great thing about it is the developer of the app doesn't need to do anything to allows that, and it essentially only gets broken if an app goes out of its way to be as non-native as possible (i.e. if it doesn't even use the standard libraries that ship with the OS).