I have played with a lot of code in a repl console, how can I clear it? I would like a fresh one without restarting it. Can that be done?
If you are using Emacs + nREPL, you can either:
nrepl-clear-buffer
orIf the key binding is not enabled, run Mxnrepl-interaction-mode
to enable it. You can find other useful shortcuts in nrepl.el and/or customize the key bindings to fit your needs.
Note: you can find all nREPL
's key bindings in your system by running M-x v
nrepl-mode-map
and following the nrepl.el
link.