aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Casarin <jb55@jb55.com>2019-11-13 14:57:52 -0800
committerDavid Bremner <david@tethera.net>2019-12-03 07:43:36 -0400
commit5f9ea4d2908a597acaf0b809b6f27fa74b70520b (patch)
treebd1e52879519eead3a269c3d7d97e546fe3efeb1
parenta1139fb5ec3a202229513e5202ea7cce72f9384a (diff)
emacs: bind M-RET to notmuch-tree-from-search-thread
This is an unbound function that is quite useful. It opens a selected thread in notmuch-tree from the current search query. Signed-off-by: William Casarin <jb55@jb55.com>
-rw-r--r--emacs/notmuch.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 773d1206..0d68d123 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -188,6 +188,7 @@ there will be called at other points of notmuch execution."
(define-key map "-" 'notmuch-search-remove-tag)
(define-key map "+" 'notmuch-search-add-tag)
(define-key map (kbd "RET") 'notmuch-search-show-thread)
+ (define-key map (kbd "M-RET") 'notmuch-tree-from-search-thread)
(define-key map "Z" 'notmuch-tree-from-search-current-query)
map)
"Keymap for \"notmuch search\" buffers.")