I use ace-window to change windows, with
M-o as my key-binding.
However, when I enter a window that is in HTML mode, this gets clobbered to "set face." I'm now stuck in this window, and can't
M-o my way back out.
I have the following in my ace-window config, which specifies the key is global:
(use-package ace-window :init (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)) (setq aw-dispatch-always t) :config (global-set-key (kbd "M-o") 'ace-window) )
How can I stop html-mode for now, and /any/ mode in general, from clobbering the global keybinding?
I'm generally learning about key-bindings from here.
This was marked a duplicate but it’s not clear to me how to apply the links to this problem. I didn’t load markdown-mode in my init.el as these suggest editing—it automatically clobbered my keybindings with defaults without any loader.
What I’m looking for in this question is specifically how can I make the keybindings in ace-jump un-overwritable, even if rogue modes load themselves after.