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?
You're looking for the function cider-repl-previous-input
which by default is bound to Mp
or for cider-repl-backward-input
which is bound to Cp
. 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
( Mn
) and cider-repl-forward-input
( Cn
) are available to you, too.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.