notmuch: Inhibit insert state

This commit is contained in:
Pierre Neidhardt 2019-03-17 20:00:08 +01:00
parent a925c27d5f
commit d09e4770be
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@
;;;###autoload
(defun evil-collection-notmuch-setup ()
"Set up `evil' bindings for `notmuch'."
(evil-collection-inhibit-insert-state 'notmuch-show-mode-map)
(evil-collection-inhibit-insert-state 'notmuch-search-mode-map)
(evil-collection-inhibit-insert-state 'notmuch-tree-mode-map)
(evil-set-initial-state 'notmuch-show-mode 'normal)
(evil-set-initial-state 'notmuch-search-mode 'normal)
(evil-set-initial-state 'notmuch-hello-mode 'normal)