怎样在 emacs 里面交换 option 和 command 键的位置(机器 MBP,系统 Fedora)

在我的老 MBP 上安装了 Fedora ,之前在 OSX 里面可以用下面的配置交换这两个键:

(setq mac-option-modifier 'super)
(setq mac-command-modifier 'meta)

现在我要怎么做呢?(尽量不要系统级的修改,离开 Emacs 之后这些按键的位置还是挺顺手的)

合合,找到了这个。正合适我用。

x-super-keysym is a variable defined in ‘C source code’.
Its value is ‘meta’

  Probably introduced at or before Emacs version 22.1.

Documentation:
Which keys Emacs uses for the super modifier.
This should be one of the symbols ‘ctrl’, ‘alt’, ‘hyper’, ‘meta’,
‘super’.  For example, ‘super’ means use the Super_L and Super_R
keysyms.  The default is nil, which is the same as ‘super’.

[back]
2 个赞