Browse Source

Add bindings for cider-repl-history-mode-map

tags/0.0.2
Ruslan Kamashev 1 month ago
parent
commit
986ca7eb0b
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      evil-collection-cider.el

+ 14
- 0
evil-collection-cider.el View File

@@ -35,6 +35,7 @@

(defconst evil-collection-cider-maps '(cider-mode-map
cider-repl-mode-map
cider-repl-history-mode-map
cider-test-report-mode-map
cider-macroexpansion-mode-map
cider-connections-buffer-mode-map))
@@ -124,6 +125,19 @@ ex. \(cider-debug-mode-send-reply \":next\"\)"
"gf" 'cider-find-resource
"K" 'cider-doc)

(evil-collection-define-key '(normal visual) 'cider-repl-history-mode-map
(kbd "C-k") 'cider-repl-history-previous
(kbd "C-j") 'cider-repl-history-forward
"gk" 'cider-repl-history-previous
"gj" 'cider-repl-history-forward
"[[" 'cider-repl-history-previous
"]]" 'cider-repl-history-forward

(kbd "RET") 'cider-repl-history-insert-and-quit
"gr" 'cider-repl-history-update
"q" 'cider-repl-history-quit
"u" 'cider-repl-history-undo-other-window)

(evil-collection-define-key 'normal 'cider-test-report-mode-map
(kbd "C-c ,") 'cider-test-commands-map
(kbd "C-c C-t") 'cider-test-commands-map

Loading…
Cancel
Save