Skip to content

Instantly share code, notes, and snippets.

@al3xandru
Created March 18, 2016 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save al3xandru/c6d94cb072f6c50e7fb4 to your computer and use it in GitHub Desktop.
Save al3xandru/c6d94cb072f6c50e7fb4 to your computer and use it in GitHub Desktop.
Org-mode settings in Spacemacs
(with-eval-after-load 'org
(setq org-directory "~/Dropbox/Dox/active/"
org-default-notes-file "04-notes.org"
org-agenda-files '(org-default-notes-file))
(setq org-capture-templates
'(("l" "Log" item (file+datetree org-default-notes-file)
"+ [%<%H:%M>] %?")
("t" "Todo" entry (file+datetree org-default-notes-file)
"* TODO %?\n %U\n %i" :empty-lines 1)
("T" "Todo with clipboard" entry (file+datetree org-default-notes-file)
"* TODO %?\n %c\n %U\n %i" :empty-lines 1)
("c" "Task" checkitem (file+datetree org-default-notes-file)
"- [ ] %?\n %U\n %i" :empty-lines 1)
("C" "Task with clipboard" checkitem (file+datetree org-default-notes-file)
"- [ ] %?\n %c\n %U\n %i" :empty-lines 1)
("n" "Note" item (file+datetree org-default-notes-file)
"+ %? %U")
("N" "Note with clipboard" item (file+datetree org-default-notes-file)
"+ %? %U\n %c")
("r" "Todo with ref" entry (file+datetree org-default-notes-file)
"* TODO %?\n %U\n %a\n %i" :empty-lines 1)
("R" "Task with ref" checkitem (file+datetree org-default-notes-file)
"- [ ] %?\n %U\n %a\n %i" :empty-lines 1))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment