summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-10-13 13:01:10 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2018-10-13 13:01:10 +0200
commit3b55c116c647a53ab9ba81f97bb3dd14fbedfba0 (patch)
treed8de4a5c05c1354f2b79e4656e94759b647f3fe9 /doc
parenta842cb946a0da7dfca6615eb3d55e666f8b6b2dc (diff)
Expand the cider-repl-scroll-on-output documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/using_the_repl.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/using_the_repl.md b/doc/using_the_repl.md
index 20e6bc07..ba413656 100644
--- a/doc/using_the_repl.md
+++ b/doc/using_the_repl.md
@@ -159,13 +159,18 @@ By default if the REPL buffer contains more lines than the size of the
completion of evaluating an expression, so that the bottom line of
output is on the bottom line of the window.
+The default has the nice advantage that you always see as much as you
+can from your previous REPL interactions, but can be pretty annoying
+if you're a heavy user of `C-l` (`M-x recenter-top-bottom`), as even
+if you're at the top of the REPL buffer the next output will scroll it all
+the way down.
+
If you don't like this re-centering you can disable it like this:
```el
(setq cider-repl-scroll-on-output nil)
```
-
#### Result Prefix
Change the result prefix for REPL evaluation (by default there's no prefix):