Bash has a myriad of useful shortcuts. For instance Alt+B, which moves the cursor back one word. Only I have assigned this particular combination and a few other shortcuts to do things in gnome. The trouble is, i've gotten used to it. Alt+B opens my browser and I'd like for it to stay that way, except when I work in gnome terminal.
Hence my question: How do I disable global shortcuts, (like the one to open my browser) and enable bash's own shortcuts, exclusively when working in gnome-terminal? Is there a way to tell gnome that the active/focused application's shortcuts take precedence over global shortcuts?
I'm not sure if this is a new feature or not but there is an option:
I don't think you can, apart from projecting complicated things monitoring focused/unfocused window, and changing shortcuts correspondingly.
So the advice is to avoid shortcut collisions.