[英]Bind <return> to newline-and-indent, but also have it used in minibuffer?
我可以将(Enter)绑定到换行符和缩进,但也可以像往常一样在minibuffer中工作吗?
The typical way to do this is to bind it to newline-and-indent
for the major modes that you use, and leave the default binding as it is. 执行此操作的典型方法是针对您使用的主要模式将其绑定到newline-and-indent
,并保留默认绑定。
You can bind it in a major mode hook or use eval-after-load
. 您可以将其绑定在主要模式挂钩中,也可以使用eval-after-load
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.