From 9d58f8d78e4c7cb3be8cc6fc49eb55072d5afaea Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 27 Oct 2019 16:03:31 -0400 Subject: [PATCH] ENH tell people to stop spamming me in email signature ADD shortcut for inserting email sig --- etc/conf.org | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/etc/conf.org b/etc/conf.org index 6c619a3..a080eeb 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -3024,7 +3024,10 @@ Since mu4e is an external program, need to check that it is installed before loa "" "PhD Candidate - Biomedical Engineering - Krish Roy Lab" "Georgia Institute of Technology and Emory University" - "ndwarshuis3@gatech.edu") + "ndwarshuis3@gatech.edu - (616) 307-4957" + "" + "NOTE - I do not use email on my mobile devices" + "Please use my phone number for urgent messages") "\n") ;; aliases @@ -3699,8 +3702,13 @@ These are for mode-specific bindings that can/should be outside of the evil maps ;; (mu4e-view-open-attachment-emacs msg attnum))) (nd/when-bin "mu" - (define-key mu4e-headers-mode-map (kbd "C-c C-l") 'org-store-link) - (define-key mu4e-view-mode-map (kbd "C-c C-l") 'org-store-link)) + (defun nd/insert-mu4e-signature-at-point () + (interactive) + (insert mu4e-compose-signature)) + + (define-key mu4e-compose-mode-map (kbd "C-c w") #'nd/insert-mu4e-signature-at-point) + (define-key mu4e-headers-mode-map (kbd "C-c C-l") #'org-store-link) + (define-key mu4e-view-mode-map (kbd "C-c C-l") #'org-store-link)) #+END_SRC *** dired #+BEGIN_SRC emacs-lisp