summary refs log tree commit diff
path: root/emacs.d/core
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/core/core-org.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/emacs.d/core/core-org.el b/emacs.d/core/core-org.el
index 52586a1..f61b6b3 100644
--- a/emacs.d/core/core-org.el
+++ b/emacs.d/core/core-org.el
@@ -1,3 +1,5 @@
+(defvar fcuny/org-directory "~/notes")
+
 (use-package org
   :mode ("\\.org$" . org-mode)
   :ensure t
@@ -8,14 +10,16 @@
     (org-babel-do-load-languages
      'org-babel-load-languages
      '((scheme . t)
-       (sh . t))))
+       (sh . t)
+       (calc . t))))
   :init
   (setq org-startup-indented t
         org-src-fontify-natively t
         org-src-tab-acts-natively t
         org-confirm-babel-evaluate nil
-        org-directory "~/personal"
+        org-directory fcuny/org-directory
         org-default-notes-file (concat org-directory "/refile.org")
+        org-refile-targets '((org-agenda-files . (:maxlevel . 6)))
         org-todo-keywords '((sequence "TODO(t)" "DOING(i!)" "WAITING(w!)" "|" "DONE(d!)" "CANCEL(c!)"))
         org-link-abbrev-alist '(("src" . "~/src/%s")
                                 ("jira" . "https://jira.twitter.biz/browse/%s")
@@ -26,8 +30,11 @@
         org-capture-templates '(("t" "Todo" entry (file+headline (concat org-directory "/refile.org") "Tasks")
                                  "* TODO %?\n %i")
                                 ("m" "Meeting" entry (file+headline (concat org-directory "/twitter.org") "Meetings")
+                                 "* %T %?\n %i")
+                                ("q" "Quick Note" entry (file+headline (concat org-directory "/refile.org") "Notes")
                                  "* %T %?\n %i"))
         org-agenda-files (list (concat org-directory "/twitter.org")
                                (concat org-directory "/personal.org")
                                (concat org-directory "/notebook.org"))))
 
+(provide 'core-org)