dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit e1cce42887f7fe96ad6d364e7980ec49ad0a406e
parent bc52806c376f01861bb4ec7a9cb1a173303f5b82
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 12 Nov 2016 23:42:47 +0000

emacs: add org-capture stuff.

* .emacs.d/elisp/rsd-pkgs.el (org): Update package customization.

Diffstat:
.emacs.d/elisp/rsd-pkgs.el | 18+++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/.emacs.d/elisp/rsd-pkgs.el b/.emacs.d/elisp/rsd-pkgs.el @@ -38,7 +38,23 @@ (add-hook 'org-mode-hook 'turn-on-font-lock) (setq org-directory "~/v/git/rsd/org") (setq org-agenda-files (concat org-directory "/agenda.org")) - (setq org-default-notes-file (concat org-directory "/notes.org")) + (setq org-default-notes-file (concat org-directory "/scratch.org")) + (setq org-capture-templates + '(("l" "log" entry + (file+datetree "~/v/git/rsd/org/log.org") + "* %U\n%? \n") + ("s" "scratch" entry + (file+headline "~/v/git/rsd/org/scratch.org" "scratch") + "* %?\n %i\n %x\n %a") + ("r" "rtask" entry + (file+headline "~/v/git/rsd/org/todo.org" "rtasks") + "* TODO %?\n DEADLINE: %^T") + ("o" "otask" entry + (file+headline "~/v/git/rsd/org/todo.org" "otasks") + "* TODO %?\n DEADLINE: %^T") + ("c" "calendar" entry + (file+headline "~/v/git/rsd/org/todo.org" "calendar") + "* %?\n %^T"))) (setq org-log-done 'time) :bind (("C-c l" . org-store-link) ("C-c a" . org-agenda)