I like to match the camera keys to my global 3D View.
Could you be more specific about what you’re trying to do?
Now, you’ve answered part of your own question… . if you want to change a key in a 3D View context:
Edit > Preferences > Keymap > 3D View > 3D View Global
That’s already done but doesn’t affect the UV Editor.
Excuse me for repeating myself, but what exactly are you trying to change as a keyboard key?
For UV Editor, depending on what you want to achieve, possibly modify:
Preferences > Keymap > Image > UV Editor
Now, if you want to change, for example, the keys assigned to Pan . . it happens here:
Preferences > Keymap > Image > Image (Global) > Pan view Item
Amazing, that was it!
I just wanted to match the UV editor’s navigation settings to the ones of my viewport.