I have the command fill-paragraph
mapped to key <escape> q
, it is mapped by default in emacs.
Now I want to map the opposite command, unfill-paragraph
, to key <escape> p
.
However, when I do this all predefined commands with <escape>
stops working. I need to explicitly remap all of them.
I am mapping the command like this:
(global-set-key (kbd "<escape> p" ) 'unfill-paragraph)
Is this the expected behavior? How can I map new commands to escape
keys without clearing all predefined?
<escape>
. It's possible, but there are too many hard-coded thingies to work around (e.g.ESC ESC ESC
).