如何将鼠标2(中键单击)映射为在OS X上使用触摸板的(cmd + 单击)或(ctrl+单击),以便在flyspell模式下显示弹出菜单。
像Stefan所建议的那样,使用mouse-3如何呢?
将以下内容添加到您的init文件中:
(eval-after-load "flyspell"
'(progn
(define-key flyspell-mouse-map [down-mouse-3] #'flyspell-correct-word)
(define-key flyspell-mouse-map [mouse-3] #'undefined)))
flyspell
后,为时已晚。 - halloleoM-x report-emacs-bug
进行反馈。已经有一个内置选项可以实现这个功能。请查看:
mac-emulate-three-button-mouse
具体来说,您应该能够轻松添加:
(setq mac-emulate-three-button-mouse t)