【问题标题】:How do you go back to the last evaluated expression in CIDER's nREPL in Emacs?在 Emacs 中如何返回到 CIDER 的 nREPL 中最后一个求值的表达式?
【发布时间】:2020-01-24 01:06:06
【问题描述】:

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

【问题讨论】:

    标签: emacs clojure cider nrepl


    【解决方案1】:

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

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

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-12-25
    • 2014-10-13
    • 1970-01-01
    • 2019-07-08
    • 2015-01-22
    • 1970-01-01
    • 1970-01-01
    • 2014-12-06
    相关资源
    最近更新 更多