ENH tell people to stop spamming me in email signature

ADD shortcut for inserting email sig
This commit is contained in:
Nathan Dwarshuis 2019-10-27 16:03:31 -04:00
parent 435e77e8aa
commit 9d58f8d78e
1 changed files with 11 additions and 3 deletions

View File

@ -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" "PhD Candidate - Biomedical Engineering - Krish Roy Lab"
"Georgia Institute of Technology and Emory University" "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") "\n")
;; aliases ;; 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))) ;; (mu4e-view-open-attachment-emacs msg attnum)))
(nd/when-bin "mu" (nd/when-bin "mu"
(define-key mu4e-headers-mode-map (kbd "C-c C-l") 'org-store-link) (defun nd/insert-mu4e-signature-at-point ()
(define-key mu4e-view-mode-map (kbd "C-c C-l") 'org-store-link)) (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 #+END_SRC
*** dired *** dired
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp