是否为自定义命令保留了任何 emacs 组合键? [英] Are there any emacs key combinations reserved for custom commands?

查看:20
本文介绍了是否为自定义命令保留了任何 emacs 组合键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我想创建自定义组合键来运行命令,是否有为此保留的键盘快捷键?我总是发现很难决定要覆盖哪个快捷方式,因为我不确定我不应该覆盖哪些命令以及我将来可能安装的哪些命令插件会尝试设置.

If I want to create a custom key combination to run a command, are there any keyboard shortcuts reserved for this? I always find it difficult to decide on which shortcut to override because I'm not sure what commands I shouldn't override and which commands plugins I may install in the future will try to set.

推荐答案

我建议使用 unbound.它专为这种类型的场景而设计.

I would suggest using unbound. It was made for just this type of scenario.

在您的 emacs 配置中需要它后,键入以下内容将列出您的自定义可能的未绑定密钥:

Once you have it required in your emacs config, typing the following will list possible unbound keys for your customization:

M-x describe-unbound-keys

它要求组合键的复杂程度(我通常只使用 5)取决于您感兴趣的键绑定的方便程度(选项较少)或深奥程度(更多选项).

It asks for a complexity level (I generally just use 5) for the key combination depending on how convenient (less options) or esoteric (more options) a key binding you are interested it.

这篇关于是否为自定义命令保留了任何 emacs 组合键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆