From a36203c0d8d32a1ddf3009cce6c04e0c6f26477e Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Sat, 11 Feb 2023 08:42:06 -0800 Subject: emacs: notmuch keybindings --- .emacs.local.d/modes/notmuch.el | 7 ++++++- .environment | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3