aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.local.d/modes/notmuch.el7
-rw-r--r--.environment4
2 files changed, 10 insertions, 1 deletions
diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el
index 42bdc45..2b9b137 100644
--- a/.emacs.local.d/modes/notmuch.el
+++ b/.emacs.local.d/modes/notmuch.el
@@ -41,8 +41,13 @@
(org-store-link nil)
(org-capture nil "m")
)
+
(bind-key "t" 'rul/capture-mail notmuch-show-mode-map)
+(define-key notmuch-show-mode-map "R" 'notmuch-show-reply)
+(define-key notmuch-search-mode-map "R" 'notmuch-search-reply-to-thread)
+(define-key notmuch-tree-mode-map "R" (notmuch-tree-close-message-pane-and #'notmuch-show-reply))
+
; Spam
(define-key notmuch-show-mode-map "S"
(lambda ()
@@ -72,7 +77,7 @@
(notmuch-refresh-this-buffer)))
; Mark as read
-(define-key notmuch-search-mode-map "R"
+(define-key notmuch-search-mode-map "r"
(lambda (&optional beg end)
"mark thread as read"
(interactive (notmuch-search-interactive-region))
diff --git a/.environment b/.environment
index 1a888fa..0908118 100644
--- a/.environment
+++ b/.environment
@@ -44,6 +44,10 @@ if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
+if [ -d "$HOME/.local/bin" ]; then
+ PATH="$HOME/.local/bin:$PATH"
+fi
+
# extra
if [ -d ~/.environment.d/ ]; then
for e in $(find ~/.environment.d/ -type l,f); do
nihil fit ex nihilo