One thing I really love about using the Lein nREPL is that I can just go to the last evaluated Clojure expression by pressing the up-arrow key. Is there anyway to do something similar in the CIDER nREPL?
Asked
Active
Viewed 208 times
1 Answers
3
You're looking for the function cider-repl-previous-input
which by default is bound to M-p
or for cider-repl-backward-input
which is bound to C-p
. Look at their documentation to find out how they differ with regards to a search pattern.
And of course the corresponding cider-repl-next-input
(M-n
) and cider-repl-forward-input
(C-n
) are available to you, too.

Stefan Kamphausen
- 1,615
- 15
- 20
-
1Thank you! Here's the link to the relevant docs for any future readers: https://cider.readthedocs.io/en/latest/repl/history_browser/ – TomLisankie Sep 23 '19 at 23:46