aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-02-08 13:36:43 +0100
committerAdrian Kummerlaender2021-02-08 13:36:43 +0100
commit7bc7d7954753543509933c167d7ca00e8b3468df (patch)
tree81940795cb9a9a584f8e49e48883d895d7f093fd
parenta81891ddb9e952b0ec0d0d3b8d1e75dce5dbeb98 (diff)
downloadnixos_home-7bc7d7954753543509933c167d7ca00e8b3468df.tar
nixos_home-7bc7d7954753543509933c167d7ca00e8b3468df.tar.gz
nixos_home-7bc7d7954753543509933c167d7ca00e8b3468df.tar.bz2
nixos_home-7bc7d7954753543509933c167d7ca00e8b3468df.tar.lz
nixos_home-7bc7d7954753543509933c167d7ca00e8b3468df.tar.xz
nixos_home-7bc7d7954753543509933c167d7ca00e8b3468df.tar.zst
nixos_home-7bc7d7954753543509933c167d7ca00e8b3468df.zip
Add mail capture template
-rw-r--r--gui/conf/email.el4
-rw-r--r--gui/conf/init.el1
2 files changed, 5 insertions, 0 deletions
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 "<C-tab>") 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))))