diff options
| author | Ruslan Kamashev <rynffoll@gmail.com> | 2019-09-01 13:14:19 +0300 |
|---|---|---|
| committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2019-09-01 13:38:40 +0200 |
| commit | 986ca7eb0b75eccd843bdad2f7fdb48f4ca6ac22 (patch) | |
| tree | 3372c6e57a82717a43229f45a594c72ac3db6b84 /evil-collection-cider.el | |
| parent | da75a170ea5485b7c0083624ca4e6cacc6aaa028 (diff) | |
Add bindings for cider-repl-history-mode-map0.0.2
Diffstat (limited to 'evil-collection-cider.el')
| -rw-r--r-- | evil-collection-cider.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/evil-collection-cider.el b/evil-collection-cider.el index 598c798..5e9b2f0 100644 --- a/evil-collection-cider.el +++ b/evil-collection-cider.el @@ -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 |
