1

I'd like to use M-<arrows> to move around windows in Emacs gtk, so I have added

(windmove-default-keybindings 'meta)

to my init.el. However, this is overridden by other modes such as elpy. Is there any direct way to give such a command absolute priority on keybindings, ignoring other modes' own keybindings?

| improve this question | | | | |
0

You can disable the mode-specific keybindings explicitly with for example

(define-key elpy-mode "M-<left>" nil)
(define-key elpy-mode "M-<right>" nil)
| improve this answer | | | | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.