From 2dcc6e4a162fe17225dca614c41333d25a2c5086 Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Sun, 3 Jun 2018 15:42:07 +0200 Subject: [PATCH] expanded home org captures --- config.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index b3cfa64..be3460f 100644 --- a/config.org +++ b/config.org @@ -851,13 +851,19 @@ Org overwrites RET and C-j, so I need to disable the rebinds #+END_SRC *** Org Capture + The basic format is: + hotkey - name - type - location - content + For todos a prompt for the title is demanded. This made it possible to place the cursor for the content to the right position. Just typing, C-c C-c, done! + #+BEGIN_SRC emacs-lisp (pcase my/whoami ("home" (setq org-capture-templates `(("n" "note" entry (org-default-notes-file)) + ("t" "todo" entry (file+headline ,(concat PATH_ORG_FILES "tasks.org") "Tasks") + "* TODO %^{Title}\n %u\n %?\n") ("c" "coding todo" entry (file+headline ,(concat PATH_ORG_FILES "tasks.org") "Tasks") - "* TODO %?\n %i\n\n")))) + "* TODO %^{Title}\n %u %a\n %?\n")))) ("work_remote" (setq org-capture-templates '(("t" "todo" entry (file (concat PATH_ORG_FILES "todo.org"))