Add ZZ/ZQ bindings to eldoc & restclient
This commit is contained in:
parent
d9b9381eb3
commit
7d593ab285
|
@ -52,7 +52,9 @@
|
||||||
(defun evil-collection-eldoc-setup ()
|
(defun evil-collection-eldoc-setup ()
|
||||||
"Set up `evil' bindings for `eldoc'."
|
"Set up `evil' bindings for `eldoc'."
|
||||||
(evil-collection-define-key 'normal 'evil-collection-eldoc-doc-buffer-mode-map
|
(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.
|
;; Enable a separate minor mode so that we can bind keys to it.
|
||||||
(advice-add 'eldoc-doc-buffer
|
(advice-add 'eldoc-doc-buffer
|
||||||
|
|
|
@ -54,7 +54,9 @@
|
||||||
"[[" 'restclient-jump-prev
|
"[[" 'restclient-jump-prev
|
||||||
"]]" 'restclient-jump-next)
|
"]]" 'restclient-jump-next)
|
||||||
(evil-collection-define-key 'normal 'evil-collection-restclient-mode-map
|
(evil-collection-define-key 'normal 'evil-collection-restclient-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.
|
;; Enable a separate minor mode so that we can bind keys to it.
|
||||||
(add-hook 'restclient-response-loaded-hook
|
(add-hook 'restclient-response-loaded-hook
|
||||||
|
|
Loading…
Reference in New Issue