By default C-x n
is a prefix keymap used for narrowing.
I want to bind C-x n
to windmove-down
.
(global-set-key (kbd "C-x n") 'windmove-down)
This works fine for Text mode. But many major modes seem to overwrite these bindings:
- Markdown mode:
- C-x n b → markdown-narrow-to-block
- C-x n s → markdown-narrow-to-subtree
- Orgmode:
- C-x n b → org-narrow-to-block
- C-x n e → org-narrow-to-element
- C-x n s → org-narrow-to-subtree
So I would like to know: How can I stop all (major) modes from overwriting my binding?