如何在Emacs.app中设置cmd和ctrl的键?

时间:2014-11-29 20:04:25

标签: emacs elisp

(global-set-key (kbd "C-s-f") 'emmet-next-edit-point)

当我点击C-s-f时,我收到错误<C-s-268632070> is undefined

(global-set-key (kbd "C-s-268632070") 'emmet-next-edit-point)

当我评估时,我收到错误C-s- must prefix a single character, not 268632070

Emacs 24.2.1,最新的OS X.

1 个答案:

答案 0 :(得分:1)

将数字键放在尖括号中:

(global-set-key (kbd "<C-s-268632070>") 'emmet-next-edit-point)