summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-05-13 11:59:19 -0500
committerBozhidar Batsov <bozhidar@batsov.com>2016-05-13 11:59:19 -0500
commit5ba5091b60d28e8cc8e6a266295efeba88769ad0 (patch)
tree47c32e331634926f134eb68cc3b6ad570685a45a /doc
parent88559783f98a58e6c03f16fe585febbab7e53525 (diff)
Introduce a common prefix for some evaluation commands that aren't used
frequently This also solve the `C-c C-r` conflict with recent clojure-mode versions.
Diffstat (limited to 'doc')
-rw-r--r--doc/interactive_programming.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/interactive_programming.md b/doc/interactive_programming.md
index 1591601c..9f888fef 100644
--- a/doc/interactive_programming.md
+++ b/doc/interactive_programming.md
@@ -19,19 +19,19 @@ Here's a list of `cider-mode`'s keybindings:
Keyboard shortcut | Description
--------------------------------------|-------------------------------
<kbd>C-x C-e</kbd> <br/> <kbd>C-c C-e</kbd>| Evaluate the form preceding point and display the result in the echo area and/or in an buffer overlay (according to `cider-use-overlays`). If invoked with a prefix argument, insert the result into the current buffer.
-<kbd>C-c C-w</kbd> | Evaluate the form preceding point and replace it with its result.
+<kbd>C-c C-v w</kbd> | Evaluate the form preceding point and replace it with its result.
<kbd>C-c M-e</kbd> | Evaluate the form preceding point and output it result to the REPL buffer. If invoked with a prefix argument, takes you to the REPL buffer after being invoked.
<kbd>C-c M-p</kbd> | Load the form preceding point in the REPL buffer.
<kbd>C-c C-p</kbd> | Evaluate the form preceding point and pretty-print the result in a popup buffer.
<kbd>C-c C-f</kbd> | Evaluate the top level form under point and pretty-print the result in a popup buffer.
<kbd>C-M-x</kbd> <br/> <kbd>C-c C-c</kbd> | Evaluate the top level form under point and display the result in the echo area.
-<kbd>C-c C-v</kbd> | Evaluate the form around point.
+<kbd>C-c C-v v</kbd> | Evaluate the form around point.
<kbd>C-u C-M-x</kbd> <br/> <kbd>C-u C-c C-c</kbd> | Debug the top level form under point and walk through its evaluation
-<kbd>C-c C-r</kbd> | Evaluate the region and display the result in the echo area.
+<kbd>C-c C-v r</kbd> | Evaluate the region and display the result in the echo area.
<kbd>C-c C-b</kbd> | Interrupt any pending evaluations.
<kbd>C-c C-m</kbd> | Invoke `macroexpand-1` on the form at point and display the result in a macroexpansion buffer. If invoked with a prefix argument, `macroexpand` is used instead of `macroexpand-1`.
<kbd>C-c M-m</kbd> | Invoke `clojure.walk/macroexpand-all` on the form at point and display the result in a macroexpansion buffer.
-<kbd>C-c C-n</kbd> | Eval the ns form.
+<kbd>C-c C-v n</kbd> | Eval the ns form.
<kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
<kbd>C-c C-z</kbd> | Switch to the relevant REPL buffer. Use a prefix argument to change the namespace of the REPL buffer to match the currently visited source file.
<kbd>C-u C-u C-c C-z</kbd> | Switch to the REPL buffer based on a user prompt for a directory.