aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2023-02-11 08:42:06 -0800
committerRaul Benencia <id@rbenencia.name>2023-02-11 08:42:06 -0800
commita36203c0d8d32a1ddf3009cce6c04e0c6f26477e (patch)
treeff26c581b85475395e44724e4008920ce1a6870f
parente4ff58c24852089db3c7f87ee9342c62a5076dda (diff)
emacs: notmuch keybindings
-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