如何获得所有当前可用命令和热键的列表? [英] How do I get a list of all the currently available commands and hotkeys?

查看:87
本文介绍了如何获得所有当前可用命令和热键的列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为帮助我学习使用各种emacs模式,我想再增加一个带有一点HTML页面的监视器,该HTML页面用于向我显示我可以在当前当前输入的内容上键入或键入和弦的种类在emacs中查看.

To help me learn to work with various emacs modes, I would like to have a second monitor with a little HTML page that is used for showing me what sorts of things I can type or key-chord on whatever I'm currently looking at in emacs.

那么我如何获得当前模式下所有可用的命令或和弦的列表?

So how can I get a list of all the commands or key-chords available to me in my current mode?

推荐答案

无疑会有其他人告诉您如何获取备忘单(

Someone else will no doubt tell you how to get a cheatsheet such as you request (well, here is info about that too).

但是,如果您想要某种能动态告诉您当前上下文中可用键的内容,那么无论该内容是什么,这就是我所提供的:

But if you want something that tells you dynamically what keys are available in the current context, no matter what it is, then this is what I have to offer:

  • C-h m告诉您当前(主要)模式. C-h b告诉您当前可用的密钥.

  • C-h m tells you about the current (major) mode. C-h b tells you about currently available keys.

冰柱 功能<通过href ="http://www.emacswiki.org/emacs/Icicles_-_Key_Completion" rel ="nofollow"> 键完成 ,您可以访问所有当前可用的键序列,通过键S-TAB.如果先使用前缀键,然后使用S-TAB,则将看到该前缀键的所有完成内容.您可以上下移动键层次结构,甚至包括菜单项,以查看所有可能的键.您可以使用C-M-RET获取任何可用的给定密钥的帮助(信息).以下是有关更多的内容,该功能向您展示了当前所有可能的键绑定.

The Icicles feature key completion gives you access to all of the currently available key sequences, via key S-TAB. If you use a prefix key first, then S-TAB, then you see all the completions of that prefix key. You can move up and down the key hierarchy, including even menu items, to see all possible keys. You can use C-M-RET to get help (info about) any given key that is available. Here is some more about this feature of showing you all currently possible key bindings.

这篇关于如何获得所有当前可用命令和热键的列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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