开发者

How to equalize <return> and <kb-enter> in Emacs?

开发者 https://www.devze.com 2023-04-07 09:35 出处:网络
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 \"

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号