How to equalize <return> and <kb-enter> in Emacs?
Some key bindings are designed in a way that Enter (<return>
) and numpad Enter (<kb-enter>
) are not the same (I guess, if a binding is (kbd "<return>/<kb-enter>")
not (kbd "RET")
). Is it possible to rewrite <kb-enter
to <return>
in E开发者_如何学Pythonmacs or I have to change system settings?
It sounds like this is what you want:
(define-key local-function-key-map [kp-enter] [return])
That will translate the <kp-enter>
key to the <return>
key.
精彩评论