dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit 8e28ed6d2937cf23b6702c3614b601cb00663d92
parent 40f7dc0ac63a9505f85e250d306fac3e0961ead3
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Mon, 29 Jan 2018 19:23:52 +0200

emacs: Add org-capture basic templates

Diffstat:
.emacs.d/configuration.org | 14+++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/.emacs.d/configuration.org b/.emacs.d/configuration.org @@ -81,9 +81,17 @@ "~/Documents/org/capture.org")) #+END_SRC -** Org-Capture notes location -#+BEGIN_SRC emacs-lisp - (setq org-default-notes-file "~/Documents/org/capture.org") +** Org-Capture +*** Templates +#+BEGIN_SRC emacs-lisp + (setq org-capture-templates '(("b" "Blog" entry (file+headline "~/Documents/org/Blog/ideas.org" "Blog Topics") + "* %?": prepend t) + ("t" "To Do items" entry (file+headline "~/Documents/org/capture.org" "Tasks") + "* TODO %?\n %T": prepend t) + ("l" "Links" entry (file+headline "~/Documents/org/links.org" "Read me later") + "* %?": prepend t) + ("a" "Archive" entry (file+headline "~/Documents/org/archive.org" "Archive me") + "* %?": prepend t))) #+END_SRC ** Follow links with return