summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-12-12 08:21:25 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-12-12 08:21:25 +0000
commit13cbf2d8f6876f7fa49146cf6d4b267d73f440c5 (patch)
tree6164f6c4062538753aa8e91289152493eddef4a7 /init.el
parent8892837326fa78f60d58b274685e8db575ad1723 (diff)
parent49e26ca4f6fa4dcb9de61a3433839642f9a0ecd8 (diff)
Merge branch 'master' of github.com:yulqen/emacs
Diffstat (limited to 'init.el')
-rw-r--r--init.el27
1 files changed, 27 insertions, 0 deletions
diff --git a/init.el b/init.el
index f9cdc05..d785d7d 100644
--- a/init.el
+++ b/init.el
@@ -297,6 +297,23 @@ Restart works only on graphic display."
;; - `ef-themes-preview-colors-current'
)
+(use-package consult-notes
+ :ensure t
+ :bind (("C-c d" . consult-notes))
+ :commands (consult-notes
+ consult-notes-search-in-all-notes
+ ;; if using org-roam
+ consult-notes-org-roam-find-node
+ consult-notes-org-roam-find-node-relation)
+ :config
+ (setq consult-notes-sources
+ '(("Denote" ?d "~/Documents/denote/")
+ ("Mod-Denote" ?m "~/Documents/mod-denote/")
+ ("Notes archive" ?n "~/Notes/Archive"))) ;; Set notes dir(s), see below
+ ;; Set org-roam integration OR denote integration
+ (when (locate-library "denote")
+ (consult-notes-denote-mode)))
+
(use-package pass
:ensure t)
@@ -619,7 +636,13 @@ Restart works only on graphic display."
(notmuch-search-tag (list "-deleted"))
(notmuch-search-tag (list "+deleted")))))
(setq send-mail-function 'sendmail-send-it
+ notmuch-search-result-format '(("date" . "%12s ")
+ ("count" . "%7s ")
+ ("authors" . "%-20s ")
+ ("subject" . "%-80s ")
+ ("tags" . "(%s) "))
sendmail-program "/usr/bin/msmtp"
+ notmuch-archive-tags '("-inbox" "+archived" "-new")
message-kill-buffer-on-exit t
notmuch-draft-folder "fastmail/Drafts"
notmuch-fcc-dirs "fastmail/Sent +sent -unread -inbox"
@@ -646,6 +669,10 @@ Restart works only on graphic display."
:query "*"
:sort-order newest-first
:key "a")
+ (:name "School"
+ :query "tag:school"
+ :sort-order newest-first
+ :key "S")
(:name "Deleted"
:query "tag:deleted"
:sort-order newest-first