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

查看:100
本文介绍了是否有为自定义命令保留的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天全站免登陆