Skip to content

Commit 3a53d39

Browse files
committed
[#2663] Map cider-clojuredocs to C-c C-d C-c
I think it's a bit easier to type/remember than C-c C-d C-r.
1 parent e32df61 commit 3a53d39

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cider-doc.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
(define-key cider-doc-map (kbd "C-e") #'cider-apropos-documentation-select)
7171
(define-key cider-doc-map (kbd "d") #'cider-doc)
7272
(define-key cider-doc-map (kbd "C-d") #'cider-doc)
73-
(define-key cider-doc-map (kbd "r") #'cider-clojuredocs)
74-
(define-key cider-doc-map (kbd "C-r") #'cider-clojuredocs)
73+
(define-key cider-doc-map (kbd "c") #'cider-clojuredocs)
74+
(define-key cider-doc-map (kbd "C-c") #'cider-clojuredocs)
7575
(define-key cider-doc-map (kbd "w") #'cider-clojuredocs-web)
7676
(define-key cider-doc-map (kbd "C-w") #'cider-clojuredocs-web)
7777
(define-key cider-doc-map (kbd "j") #'cider-javadoc)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ kbd:[C-c C-d C-j]
5656
| Display JavaDoc (in your default browser) for the symbol at point. If invoked with a prefix argument, or no symbol is found at point, prompt for a symbol.
5757

5858
| kbd:[C-c C-d r] +
59-
kbd:[C-c C-d C-r]
59+
kbd:[C-c C-d C-c]
6060
| Lookup symbol in ClojureDocs.
6161

6262
| kbd:[C-c C-d a] +

doc/modules/ROOT/pages/usage/cider_mode.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ kbd:[C-c C-d C-j]
158158
| Display JavaDoc (in your default browser) for the symbol at point. If invoked with a prefix argument, or no symbol is found at point, prompt for a symbol.
159159

160160
| `cider-clojuredocs`
161-
| kbd:[C-c C-d r] +
162-
kbd:[C-c C-d C-r]
161+
| kbd:[C-c C-d c] +
162+
kbd:[C-c C-d C-c]
163163
| Lookup symbol in ClojureDocs.
164164

165165
| `cider-clojuredocs-web`

0 commit comments

Comments
 (0)