开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜