keymap hierarchy - jgrey4296/templates GitHub Wiki
https://www.gnu.org/software/emacs/manual/html_node/elisp/Controlling-Active-Maps.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Searching-Keymaps.html https://github.com/noctuid/evil-guide NOTE: See evil-core.el for full design of evil keybindings
From highest to lowest priority:
- Overriding keymaps/overlay keymaps
- Emulation mode keymaps
- Evil keymaps
- Intercept keymaps
- Local state keymap
- Minor-mode keymaps
- Auxiliary keymaps
- Overriding keymaps
- Global state keymap
- Keymaps for other states
- Minor mode keymaps
- Local keymap (`local-set-key’)
- Global keymap (`global-set-key’)