(Emacs) 不小心切换了按键,如何重置它们?
我尝试使用“Ci Cf”作为命令,但发现“Ci”是 TAB 的键。
我之前尝试使用翻译或其他东西来切换键,现在当我输入“Ci”时,会出现“Hi”。
我尝试过(键盘翻译“Hi”“Ci”),现在 Tab 和“Ci”显示 Mouse-2
现在我意识到键盘翻译可能是永久性的,有没有办法重置它?
预先感谢^^
I tried to use "C-i C-f" for a command, but found out "C-i" was the key for TAB.
I tried using translate or something before to switch keys and now when I type "C-i", "H-i" shows up.
I tried (keyboard-translate "H-i" "C-i") and now Tab and "C-i" show Mouse-2
Now I realized that keyboard-translate is probably permanent, is there a way to reset it?
Thanks in advance ^^
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能已使用自定义系统保存了更改。查看您的
.emacs
文件,看看是否有任何看起来是自动添加的内容。可能是自定义设置变量
。摆脱它并尝试重新启动编辑器。It's possible that you've saved your changes using the customisation system. Take a look at your
.emacs
file to see if there's anything that's looks auto added. Possiblycustom-set-varaiables
. Get rid of that and try restarting your editor.