summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.org20
1 files changed, 15 insertions, 5 deletions
diff --git a/init.org b/init.org
index a49cfed..064152c 100644
--- a/init.org
+++ b/init.org
@@ -471,12 +471,22 @@ I use the capture feature to quickly record ideas and tasks, and to create links
#+BEGIN_SRC elisp
(global-set-key (kbd "C-c o c") 'org-capture)
(setq org-capture-templates
- '(("t" "Task" entry
- (file+headline (concat org-directory "/home.org") "Tasks")
- "* %?\n %i\n %a")
+ `(("i" "Inbox" entry
+ (file ,(concat org-directory "/inbox.org"))
+ ,(concat "* TODO %?\n" "/Entered on/ %U"))
+ ("t" "Task" entry
+ (file+headline (concat org-directory "/inbox.org") "Tasks")
+ "* %?\n %i\n %a")
("m" "Email" entry
- (file+headline (concat org-directory "/email.org") "Email")
- "* Reply to %:fromname%? :email:\n [%:date]\n To: %:to\n %a")))
+ (file+headline (concat org-directory "/email.org") "Email")
+ "* Reply to %:fromname%? :email:\n [%:date]\n To: %:to\n %a")))
+
+(defun org-capture-inbox ()
+ (interactive)
+ (call-interactively 'org-store-link)
+ (org-capture nil "i"))
+
+(define-key global-map (kbd "C-c i") 'org-capture-inbox)
#+END_SRC
For exporting org documents to PDF I use =lualatex= instead of the default =pdflatex=. I also use =biber= to refresh the bibliography. This requires me to change the value of =org-latex-pdf-process=.