[notmuch] Make help closable with q
notmuch help uses emacs view mode which has never been evilified. With this I am trying to make it closable with q again. Known issue: q seems only to work the second time it is used, Q can be used instead.
This commit is contained in:
parent
83fbc7a13e
commit
053f6da6c6
|
@ -98,9 +98,11 @@
|
|||
"v" #'notmuch-hello-versions
|
||||
"z" #'notmuch-tree
|
||||
"M-=" #'notmuch-refresh-all-buffers)
|
||||
;; Make notmuch message mode exitable with q
|
||||
;; Make notmuch message mode and help view exitable with q
|
||||
(evil-define-key 'normal notmuch-message-mode-map
|
||||
"q" #'message-kill-buffer)
|
||||
(evil-define-key 'normal view-mode-map
|
||||
"q" #'View-quit)
|
||||
(evilified-state-evilify-map notmuch-show-mode-map
|
||||
:mode notmuch-show-mode
|
||||
:bindings
|
||||
|
|
Loading…
Reference in a new issue