Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以将 (Enter) 绑定到换行和缩进,但也可以让它在 minibuffer 中照常工作吗?
执行此操作的典型方法是将其绑定到newline-and-indent您使用的主要模式,并保留默认绑定。
newline-and-indent
您可以将其绑定在主要模式挂钩中或使用eval-after-load.
eval-after-load