I would like to have
; bound to
other-window in special modes, unless the derived mode overrides the definition. It would be nice to also include modes not strictly deriving from
special-mode (but defining
'mode-class), but that's not strictly necessary.
Ideas I've tried/considered:
global-set-key: I thought the global keymap would be of lower precedence than major-mode keymaps, so
;would work in modes that defined it, but instead I just overwrote
- Add the keybinding in
special-mode-hook: It doesn't seem like this hook is actually run, and this misses the
- Add a keybinding that either calls
other-windowor defers to the major mode. Not sure how I would do this?