What does “s-[keyname]” refer to in Emacs, and how do I tell Emacs to ignore it?

前端 未结 4 1191
一生所求
一生所求 2021-02-05 04:11

Background information:

I\'m on a Mac, and I\'ve just upgraded to Emacs 23.1 via http://emacsformacosx.com/. There are a few issues, notably the lack of full screen abil

4条回答
  •  一生所求
    2021-02-05 04:54

    With plain Emacs 23.1 on a Macbook Pro, I can map the right option key to super by

    (setq ns-right-option-modifier 'super)
    

    Your other choice seems to be the function key, which would be ns-function-modifier. However, fn might have other uses, whereas Emacs’ default is to map ns-right-option-modifier to ’left (ie, the same effect as the left option key, which I at any rate need to get the # character!), so the right option key is to some extent redundant.

    Left-handers may want to reverse this.

提交回复
热议问题