在TTY emacs上使用国际键盘可以很好地输入字符:
alt-e + a enters á
alt-i + a enters â
etc
问题在于,在可可Emacs中并非如此。这些键被解释为emacs命令。
我试图全局解除绑定这些键,即使解除绑定也没有输入国际重音符号所需的正确转义字符。
我如何回到可可Emacs中的TTY行为?
我希望在OSX上兼具两全其美的优点,因此我将左alt / option键设置为META,将右alt / option键设置为默认的本机OSX设置。这是我常用的Emacs修饰键的设置:
(setq ns-alternate-modifier 'meta)
(setq ns-right-alternate-modifier 'none)
(setq ns-command-modifier 'super)
(setq ns-right-command-modifier 'left)
(setq ns-control-modifier 'control)
(setq ns-right-control-modifier 'left)
(setq ns-function-modifier 'none)
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句