Control + , in Terminal.app

前端 未结 1 853
野性不改
野性不改 2020-12-22 01:20

I use the shortcut C-, with the window version of emacs.

(global-set-key (kbd \"C-,\") \'dabbrev-expand)

My problem is that th

1条回答
  •  天命终不由人
    2020-12-22 01:59

    Control-Comma does not map to a control character in the system keyboard map. Therefore, it is sent to applications as just a comma. Terminal then sends this comma to the tty, where Emacs receives it. If you want Control-Comma to map to a control character or other sequence that Emacs can distinguish from a normal comma, you'll have to alter the system keyboard map. Doing so is left as an exercise for the reader.

    0 讨论(0)
提交回复
热议问题