summaryrefslogtreecommitdiff
path: root/doc/using_the_repl.md
diff options
context:
space:
mode:
authorNeil Okamoto <neil.okamoto@gmail.com>2018-03-10 12:39:15 -0800
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-03-12 08:01:20 +0700
commitd628e2e77cde029db16bd6a32047d47a3236d942 (patch)
tree95af879b71a92817212abbf93742da37f38d43cb /doc/using_the_repl.md
parent6b86f1af84c6731d55f29e913fe58684a65e6b4c (diff)
[#2235] Make repl ignore a blank string rather than evaluating it
Diffstat (limited to 'doc/using_the_repl.md')
-rw-r--r--doc/using_the_repl.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/using_the_repl.md b/doc/using_the_repl.md
index 30616877..58ef4e15 100644
--- a/doc/using_the_repl.md
+++ b/doc/using_the_repl.md
@@ -13,7 +13,7 @@ Here's a list of the keybindings that are available in CIDER's REPL:
Keyboard shortcut | Description
-------------------------------------|------------------------------
-<kbd>RET</kbd> | Evaluate the current input in Clojure if it is complete. If incomplete, open a new line and indent. If invoked with a prefix argument is given then the input is evaluated without checking for completeness.
+<kbd>RET</kbd> | Evaluate the current input in Clojure if it is complete. If incomplete, open a new line and indent. If the current input is a blank string (containing only whitespace including newlines) then clear the input without evaluating and print a fresh prompt. If invoked with a prefix argument is given then the input is evaluated without checking for completeness.
<kbd>C-RET</kbd> | Close any unmatched parenthesis and then evaluate the current input in Clojure.
<kbd>C-j</kbd> | Open a new line and indent.
<kbd>C-c C-o</kbd> | Remove the output of the previous evaluation from the REPL buffer. With a prefix argument it will clear the entire REPL buffer, leaving only a prompt.