我想将PgUp键盘上的一个键映射到Alt修饰符以在 Emacs 中生成A-键序列,以便我可以将其映射到一组全新的键绑定。
我正在查看我的键盘映射,目前我的左键Alt同时用作Meta_L
和Alt_L修饰符。这是相关输出xmodmap -pke:
keycode 64 = Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L
Run Code Online (Sandbox Code Playgroud)
我不知道如何告诉 emacs 将Alt和Meta完全分开,
我看过了,x-alt-keysym它是nil
Which keys Emacs uses for the alt modifier.
This should be one of the symbols `alt', `hyper', `meta', `super'.
For example, `alt' means use the Alt_L and Alt_R keysyms. The default
is nil, which is the same as `alt'. …Run Code Online (Sandbox Code Playgroud) emacs ×1