summaryrefslogtreecommitdiff
path: root/emacs/custom/my-notmuch.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/custom/my-notmuch.el')
-rw-r--r--emacs/custom/my-notmuch.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/emacs/custom/my-notmuch.el b/emacs/custom/my-notmuch.el
new file mode 100644
index 0000000..b009f9e
--- /dev/null
+++ b/emacs/custom/my-notmuch.el
@@ -0,0 +1,20 @@
+;;; my-notmuch.el --- Configures notmuch
+;;; Commentary:
+;;; Code:
+
+(require 'use-package)
+
+(use-package notmuch
+ :ensure t
+ :if (executable-find "notmuch")
+ :hook
+ (notmuch-message-mode . flyspell-mode)
+ :custom
+ (notmuch-show-logo nil)
+ (notmuch-search-oldest-first nil)
+ (notmuch-always-prompt-for-sender t)
+ (notmuch-show-relative-dates t)
+ (notmuch-archive-tags '("-inbox" "-unread")))
+
+(provide 'my-notmuch)
+;;; my-notmuch.el ends here