Skip to content

Instantly share code, notes, and snippets.

@correl
Created March 2, 2015 16:38
Show Gist options
  • Save correl/d85c9148ff4728995c14 to your computer and use it in GitHub Desktop.
Save correl/d85c9148ff4728995c14 to your computer and use it in GitHub Desktop.
Org-Capture templates
(setq org-capture-templates
'(("j" "Journal Entry" plain
(file+datetree "~/org/journal.org")
"%U\n\n%?" :empty-lines-before 1)
("b" "Bookmark" entry
(file+headline "~/org/bookmarks.org" "Unsorted")
"* %^{Title}\n\n Source: %u, %c\n\n %i")
("w" "Log Work Task" entry
(file+datetree "~/org/coredial/worklog.org")
"* TODO %^{Description} %^g\n%?\n\nAdded: %U"
:clock-in t
:clock-keep t)))
(global-set-key (kbd "C-c c") 'org-capture)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment