Suppose I rebind C-e
(move-end-of-line
) to C-o
in the global-map.
How can I make C-o
the corresponding function in all modes (if it exists).
So, for example, in org-mode C-o
should be org-end-of-line
, not move-end-of-line
.
NB: I do not simply want, in this example, C-o
to be move-end-of-line
everywhere. Rather I want it to be the corresponding command for that mode, which in this case is org-end-of-line
.
bind-keys*
the other modes do not seem to be affected. – cammil May 06 '20 at 21:36bind-keys*
does is make sure that the keybinding is not overridden. That is not what I am asking. See the question for full info. – cammil May 06 '20 at 21:49