email/notmuch: minor reformatting

This commit is contained in:
Henrik Lissner 2019-12-16 03:54:15 -05:00
parent 2f79fab99f
commit 2b2156c4f5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -11,6 +11,10 @@
(defvar +notmuch-mail-folder "~/.mail/account.gmail" (defvar +notmuch-mail-folder "~/.mail/account.gmail"
"Where your email folder is located (for use with gmailieer).") "Where your email folder is located (for use with gmailieer).")
;;
;;; Packages
(after! notmuch (after! notmuch
(set-company-backend! 'notmuch-message-mode (set-company-backend! 'notmuch-message-mode
'(notmuch-company :with company-ispell company-yasnippet)) '(notmuch-company :with company-ispell company-yasnippet))
@ -58,18 +62,17 @@
notmuch-search-mode-hook) notmuch-search-mode-hook)
#'hide-mode-line-mode) #'hide-mode-line-mode)
(map! (map! :localleader
:localleader :map (notmuch-search-mode-map notmuch-tree-mode-map notmuch-show-mode-map)
:map (notmuch-search-mode-map notmuch-tree-mode-map notmuch-show-mode-map) :desc "Compose email" "c" #'+notmuch/compose
:desc "compose email" "c" #'+notmuch/compose :desc "Fetch new email" "u" #'+notmuch/update
:desc "fetch new email" "u" #'+notmuch/update :desc "Quit notmuch" "q" #'+notmuch/quit
:desc "quit notmuch" "q" #'+notmuch/quit :map notmuch-search-mode-map
:map notmuch-search-mode-map :desc "Mark as deleted" "d" #'+notmuch/search-delete
:desc "mark as deleted" "d" #'+notmuch/search-delete :desc "Mark as spam" "s" #'+notmuch/search-spam
:desc "mark as spam" "s" #'+notmuch/search-spam :map notmuch-tree-mode-map
:map notmuch-tree-mode-map :desc "Mark as deleted" "d" #'+notmuch/tree-delete
:desc "mark as deleted" "d" #'+notmuch/tree-delete :desc "Mark as spam" "s" #'+notmuch/tree-spam))
:desc "mark as spam" "s" #'+notmuch/tree-spam))
(use-package! org-mime (use-package! org-mime
@ -82,6 +85,7 @@
:commands counsel-notmuch :commands counsel-notmuch
:after notmuch) :after notmuch)
(use-package! helm-notmuch (use-package! helm-notmuch
:when (featurep! :completion helm) :when (featurep! :completion helm)
:commands helm-notmuch :commands helm-notmuch