From: Christian Heller Date: Tue, 10 Sep 2019 20:51:03 +0000 (+0200) Subject: Plausible notmuch saved searches. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/todos?a=commitdiff_plain;h=ece3948dbaa9b9732b705b1273c26d2a142d1724;p=config Plausible notmuch saved searches. --- diff --git a/buster/home_files/user/.emacs.d/init.el b/buster/home_files/user/.emacs.d/init.el index 31a4dcb..f391483 100644 --- a/buster/home_files/user/.emacs.d/init.el +++ b/buster/home_files/user/.emacs.d/init.el @@ -139,6 +139,16 @@ ;; in the message ID (setq mail-host-address "plomlompom.com") +;; notmuch saved searches +(setq notmuch-saved-searches + '((:name "inbox" :query "tag:unread and folder:inbox") + (:name "all" :query "tag:unread not folder:maildir/Trash") + (:name "plomlompom.de" :query "tag:unread and folder:maildir/plomlompom.de") + (:name "nebenan" :query "tag:unread and folder:maildir/nebenan") + (:name "reflect-info" :query "tag:unread and folder:maildir/reflect-info") + (:name "gmail" :query "tag:unread and folder:maildir/gmail.com") + (:name "mutter" :query "tag:unread and folder:maildir/mutter"))) + ;; org mode ;; ======== @@ -228,6 +238,8 @@ (define-key Info-mode-map (kbd "I") 'Info-goto-node) (define-key Info-mode-map (kbd "i") 'Info-index) + + ;; help mode ;; ========= @@ -236,6 +248,8 @@ (define-key help-mode-map (kbd "RET") 'help-follow) (define-key help-mode-map (kbd "") 'backward-button) + + ;; elfeed ;; ====== @@ -265,6 +279,8 @@ (define-key elfeed-show-mode-map (kbd "y") 'shr-copy-url) (define-key elfeed-show-mode-map (kbd "RET") 'shr-browse-url) + + ;; eww ;; === @@ -274,12 +290,15 @@ (define-key eww-mode-map (kbd "H") 'eww-back-url) (define-key eww-mode-map (kbd "L") 'eww-forward-url) + + ;; ledger ;; ====== (setq ledger-mode-map (make-sparse-keymap)) (define-key ledger-mode-map (kbd "TAB") 'ledger-magic-tab) + ;; unset other maps so they don't disturb C-c keybinding ;; ===================================================== ;; TODO: saner solution would be a default-activated minor mode that binds