你如何回到 Emacs 中 CIDER 的 nREPL 中最后计算的表达式?

How do you go back to the last evaluated expression in CIDER's nREPL in Emacs?

我真正喜欢使用 Lein nREPL 的一件事是,我可以通过按向上箭头键转到最后计算的 Clojure 表达式。无论如何在 CIDER nREPL 中做类似的事情吗?

您正在查找默认绑定到 M-p 的函数 cider-repl-previous-input 或默认绑定到 C-pcider-repl-backward-input。查看他们的文档,了解他们在搜索模式方面的不同之处。

当然,相应的cider-repl-next-input (M-n) 和cider-repl-forward-input (C-n) 也可供您使用。