Skip to content

Commit 5cfa5bc

Browse files
committed
[Docs] Mention a couple of REPL shortcuts
1 parent 8aef977 commit 5cfa5bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/modules/ROOT/pages/repl/configuration.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ use:
181181
(setq cider-repl-use-clojure-font-lock nil)
182182
----
183183

184+
You can temporarily disable the Clojure font-locking by using
185+
kbd:[M-x cider-repl-toggle-clojure-font-lock]
186+
or the REPL shortcut `toggle-font-lock`.
187+
184188
NOTE: Using Clojure font-locking in the REPL can impact performance negatively, especially
185189
when it comes to font-locking huge results. That, however, is mitigated to a big extent
186190
by result streaming.
@@ -219,7 +223,8 @@ NOTE: This behaviour was changed in CIDER 0.20. In prior CIDER releases
219223
pretty-printing was disabled by default.
220224

221225
You can temporarily disable this behaviour and revert to the default behaviour
222-
(equivalent to `clojure.core/pr`) using kbd:[M-x cider-repl-toggle-pretty-printing].
226+
(equivalent to `clojure.core/pr`) using kbd:[M-x cider-repl-toggle-pretty-printing]
227+
or the REPL shortcut `toggle-pprint`.
223228

224229
If you want to disable using `cider-print-fn` entirely, use:
225230

0 commit comments

Comments
 (0)