Fix Clojure layer cider-repl-mode keybindings
Clojure layer attempted to provide `C-j` and `C-k` keybindings to the cider-repl-mode but there was a bug. This fixes the bug and adds those keybindings to the documentation.
This commit is contained in:
parent
6583251ef6
commit
21c3e2fc2d
|
@ -32,6 +32,7 @@
|
||||||
- [[#sayid-mode][sayid-mode]]
|
- [[#sayid-mode][sayid-mode]]
|
||||||
- [[#sayid-traced-mode][sayid-traced-mode]]
|
- [[#sayid-traced-mode][sayid-traced-mode]]
|
||||||
- [[#sayid-pprint][sayid-pprint]]
|
- [[#sayid-pprint][sayid-pprint]]
|
||||||
|
- [[#cider-repl-mode][cider-repl-mode]]
|
||||||
- [[#development-notes][Development Notes]]
|
- [[#development-notes][Development Notes]]
|
||||||
- [[#indentation][Indentation]]
|
- [[#indentation][Indentation]]
|
||||||
|
|
||||||
|
@ -390,6 +391,13 @@ In general, ~q~ should always quit the popped up buffer.
|
||||||
| ~n~ | enter next sibling node |
|
| ~n~ | enter next sibling node |
|
||||||
| ~p~ | enter previous sibling node |
|
| ~p~ | enter previous sibling node |
|
||||||
|
|
||||||
|
*** cider-repl-mode
|
||||||
|
|
||||||
|
| Key Binding | Description |
|
||||||
|
|-------------+----------------|
|
||||||
|
| ~C-j~ | next input |
|
||||||
|
| ~C-k~ | previous input |
|
||||||
|
|
||||||
* Development Notes
|
* Development Notes
|
||||||
** Indentation
|
** Indentation
|
||||||
With a [[https://github.com/clojure-emacs/cider/blob/master/doc/indent_spec.md][new]] functionality of Cider to read the custom indentation rules from the
|
With a [[https://github.com/clojure-emacs/cider/blob/master/doc/indent_spec.md][new]] functionality of Cider to read the custom indentation rules from the
|
||||||
|
|
|
@ -190,8 +190,8 @@
|
||||||
"ep" 'cider-eval-print-last-sexp)
|
"ep" 'cider-eval-print-last-sexp)
|
||||||
|
|
||||||
(evil-define-key 'normal cider-repl-mode-map
|
(evil-define-key 'normal cider-repl-mode-map
|
||||||
"C-j" 'cider-repl-next-input
|
(kbd "C-j") 'cider-repl-next-input
|
||||||
"C-k" 'cider-repl-previous-input)
|
(kbd "C-k") 'cider-repl-previous-input)
|
||||||
|
|
||||||
(when clojure-enable-fancify-symbols
|
(when clojure-enable-fancify-symbols
|
||||||
(clojure/fancify-symbols 'cider-repl-mode)
|
(clojure/fancify-symbols 'cider-repl-mode)
|
||||||
|
|
Loading…
Reference in a new issue