Return to the Essence of Text Editing

Removing/Altering Key Bindings From Minor Mode Keymaps

Often minor modes don’t respect standard keybinding conventions and
use some user reserved keys (like C-c a). Occasionally two minor
modes would have conflicting keybindings or a minor mode would
keybindings conflicting with a major mode. I guess you can imagine
similar problems. Dealing with them is fairly straight-forward - we
have to either unbind or rebind the offending binding:

Making a minor mode have different keymaps in different major modes is
tricky, but possible. Here’s an example that disables some keybindings
in the minor prelude-mode, that are conflicting with the major
org-mode: