这些 IDE/编辑器中的“查找任何命令”对话框使新功能和键盘快捷键更容易发现。
Emacs 有等效的吗? M-x 可以工作,但它缺少键绑定(bind)注释的提示,并且与这些情况相比,自动完成功能也不太流畅。
最佳答案
是 - apropos-command
,绑定(bind)到 C-h a。从帮助页面:
Show commands (interactively callable functions) that match PATTERN. PATTERN can be a word, a list of words (separated by spaces), or a regexp (using some regexp special characters). If it is a word, search for matches for that word as a substring. If it is a list of words, search for matches for any two (or more) of those words.
其他帮助命令也非常有用 - C-g ? 查看全部命令。与apropos-command
类似的是:describe-key
C-h k,描述绑定(bind)到按键序列的功能; describe-variable
C-h v,这应该是显而易见的;和 describe-bindings
C-h b,列出所有当前定义的键。
关于emacs - emacs 是否有与 jetbrains 的 "find action by name"和 Atom 的命令面板等效的命令?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32832793/