Skip to content

Commit bc72384

Browse files
committed
Replace M- keys with C-x chords in the example config
1 parent 9dd69dd commit bc72384

4 files changed

Lines changed: 15 additions & 7 deletions

File tree

‎doc/configuration.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The scope column names the process a key configures. Either the JLine client or
4242
| `:eval-form-at-cursor` | client | [key string](#key-strings) | Eval the form at the cursor, printing the result above the prompt. | none |
4343
| `:doc-at-cursor` | client | [key string](#key-strings) | Doc for the symbol at the cursor, Clojure or Java. | none |
4444
| `:inspect` | client | [key string](#key-strings) | Open the [inspector](inspector.md) on the last result. | none |
45-
| `:paredit/<op>` | client | [key string](#key-strings) | Bind a [structural editing op](editing.md). Example: `:paredit/raise "C-]"`. | none |
45+
| `:paredit/<op>` | client | [key string](#key-strings) | Bind a [structural editing op](editing.md). Example: `:paredit/raise "C-x r"`. | none |
4646
| `:auto-require` | client | vector of libspecs | [Required into each namespace](#auto-require). | none |
4747
| `:follow-editor-ns` | client | boolean | Enter the namespace of each eval [sent from an editor](editors.md). | `false` |
4848
| `:middleware` | server | vector of [qualified symbols](#user-code) | [Server data on eval responses](middleware.md). | none |

‎doc/editing.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Each available op has a config key that binds it to a [key string](configuration
66

77
```clojure
88
;; .cljconf/org.clojure/clojure-cli.repl.edn
9-
{:paredit/slurp-forward "C-t"
10-
:paredit/raise "C-]"}
9+
{:paredit/slurp-forward "C-x )"
10+
:paredit/raise "C-x r"}
1111
```
1212

1313
| Op | Effect |

‎doc/inspector.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The `:inspect` config key binds a key to open the inspector on the last result `
44

55
```clojure
66
;; .cljconf/org.clojure/clojure-cli.repl.edn
7-
{:inspect "M-i"}
7+
{:inspect "C-x i"}
88
```
99

1010
The top line shows the traversal path and the type of the current value.

‎examples/.cljconf/org.clojure/clojure-cli.repl.edn‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
:keybindings dev.keybindings/install
44
:print-hook dev.hooks/pprint-values
55
:bracket-pairs false
6-
:eval-form-at-cursor "M-e"
7-
:doc-at-cursor "M-d"
8-
:inspect "M-i"}
6+
:eval-form-at-cursor "C-x e"
7+
:doc-at-cursor "C-x d"
8+
:inspect "C-x i"
9+
:paredit/slurp-forward "C-x )"
10+
:paredit/barf-forward "C-x }"
11+
:paredit/slurp-backward "C-x ("
12+
:paredit/barf-backward "C-x {"
13+
:paredit/raise "C-x r"
14+
:paredit/splice "C-x s"
15+
:paredit/kill "C-k"
16+
:paredit/wrap-list "C-x w"}

0 commit comments

Comments
 (0)