mu4e: add thread-mode commands
This commit adds a few commands to the mu4e-thread-mode-map. The purpose is to bind these commads to the normal state map so that they don't get overridden by motion state commands.
This commit is contained in:
parent
fe96b412f4
commit
c2f48c9a26
|
@ -82,7 +82,8 @@
|
|||
mu4e-headers-mode-map
|
||||
mu4e-view-mode-map
|
||||
mu4e-compose-mode-map
|
||||
mu4e-search-minor-mode-map))
|
||||
mu4e-search-minor-mode-map
|
||||
mu4e-thread-mode-map))
|
||||
|
||||
(defun evil-collection-mu4e-set-state ()
|
||||
"Set the appropriate initial state of all mu4e modes."
|
||||
|
@ -222,6 +223,12 @@ end of the buffer."
|
|||
(mu4e-search-minor-mode-map
|
||||
"J" mu4e-search-maildir)
|
||||
|
||||
(mu4e-thread-mode-map
|
||||
[S-left] mu4e-thread-goto-root
|
||||
[tab] mu4e-thread-fold-toggle
|
||||
[C-tab] mu4e-thread-fold-toggle-goto-next
|
||||
[backtab] mu4e-thread-fold-toggle-all)
|
||||
|
||||
(mu4e-view-mode-map
|
||||
" " mu4e-view-scroll-up-or-next
|
||||
[tab] shr-next-link
|
||||
|
@ -323,5 +330,7 @@ is already done earlier."
|
|||
(evil-collection-mu4e-set-state)
|
||||
(evil-collection-mu4e-set-bindings))
|
||||
|
||||
(add-hook 'mu4e-thread-mode-hook #'evil-normalize-keymaps)
|
||||
|
||||
(provide 'evil-collection-mu4e))
|
||||
;;; evil-collection-mu4e.el ends here
|
||||
|
|
Loading…
Reference in New Issue