From 7bc7d7954753543509933c167d7ca00e8b3468df Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 8 Feb 2021 13:36:43 +0100 Subject: Add mail capture template --- gui/conf/email.el | 4 ++++ gui/conf/init.el | 1 + 2 files changed, 5 insertions(+) (limited to 'gui/conf') diff --git a/gui/conf/email.el b/gui/conf/email.el index 0a4bc14..b27c5ad 100644 --- a/gui/conf/email.el +++ b/gui/conf/email.el @@ -56,3 +56,7 @@ (message-sendmail-extra-arguments . ("--read-envelope-from" "--account=kit")))))) (evil-leader/set-key "m" 'mu4e) + +(add-to-list 'org-capture-templates + '("m" "eMail note" entry (file org-default-notes-file) + "* TODO /%:subject/\n See %a\n\n%?")) diff --git a/gui/conf/init.el b/gui/conf/init.el index ae60b6b..b516ceb 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -191,6 +191,7 @@ (require 'org-protocol) :config (define-key org-mode-map (kbd "") nil) + (evil-leader/set-key "on" 'org-capture) (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)) (add-hook 'org-mode-hook (lambda () (variable-pitch-mode 1)))) -- cgit v1.2.3