From b50b4237cdebce5696715bd4d5c79fd6a43cb7b7 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Fri, 5 Apr 2019 15:08:35 +0200 Subject: [PATCH] Notmuch: Bind "M-s f" to helm-imenu --- .emacs.d/lisp/init-notmuch.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-notmuch.el b/.emacs.d/lisp/init-notmuch.el index 371e72cd..4d799376 100644 --- a/.emacs.d/lisp/init-notmuch.el +++ b/.emacs.d/lisp/init-notmuch.el @@ -41,7 +41,8 @@ notmuch-hello-mode-map notmuch-show-mode-map notmuch-tree-mode-map)) - (define-key map "s" 'helm-notmuch))) + (define-key map "s" 'helm-notmuch)) + (define-key notmuch-show-mode-map (kbd "M-s f") #'helm-imenu)) (when (require 'org-notmuch nil 'noerror) (dolist (map (list notmuch-show-mode-map notmuch-tree-mode-map))