summaryrefslogtreecommitdiff
path: root/modes/eldoc
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2022-04-13 11:32:02 -0400
committerJames Nguyen <james@jojojames.com>2022-04-13 11:32:02 -0400
commit7d593ab2855c7a729642848c6e13b13998231791 (patch)
tree2961da920a05ded23a7cf08ec1f47684aaa8aeae /modes/eldoc
parentd9b9381eb3edaf7deb0992fa124d5f08b5374003 (diff)
Add ZZ/ZQ bindings to eldoc & restclient
Diffstat (limited to 'modes/eldoc')
-rw-r--r--modes/eldoc/evil-collection-eldoc.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/modes/eldoc/evil-collection-eldoc.el b/modes/eldoc/evil-collection-eldoc.el
index 0a1cb74..c4caeff 100644
--- a/modes/eldoc/evil-collection-eldoc.el
+++ b/modes/eldoc/evil-collection-eldoc.el
@@ -52,7 +52,9 @@
(defun evil-collection-eldoc-setup ()
"Set up `evil' bindings for `eldoc'."
(evil-collection-define-key 'normal 'evil-collection-eldoc-doc-buffer-mode-map
- "q" 'quit-window)
+ "q" #'quit-window
+ "ZZ" #'quit-window
+ "ZQ" #'evil-quit)
;; Enable a separate minor mode so that we can bind keys to it.
(advice-add 'eldoc-doc-buffer