diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-03-28 23:51:51 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-03-28 23:51:51 -0400 |
commit | 23a6abef8c26704cce184477d2503b3f61148d68 (patch) | |
tree | aa252e44dbaafffcdc499f3a788f93eaefc1b83b /init.el | |
parent | 585b59c4839896e9d513604b7f1ef315e40ebfec (diff) | |
download | emacs.d-23a6abef8c26704cce184477d2503b3f61148d68.tar.gz |
Add notmuch-show-at-point command
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2090,6 +2090,8 @@ (use-package km-mail :defer t :after notmuch + :init + (define-key km/mail-map "." #'km/notmuch-show-at-point) :config (define-key notmuch-search-mode-map "R" #'km/notmuch-archive-all) (define-key notmuch-show-part-map "|" @@ -2280,9 +2282,9 @@ (let ((server (daemonp))) (cond ((string= server "default") - ;; Remove all mail map bindings except notmuch. - (global-set-key (kbd "C-x m") nil) + ;; Remove all mail map bindings except notmuch-related ones. (global-set-key (kbd "C-x m n") #'notmuch) + (global-set-key (kbd "C-x m .") #'km/notmuch-show-at-point) (after 'km-python (add-hook 'kill-emacs-hook #'km/pydoc-save-names-file)) (setq save-abbrevs 'silently |