summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/custom/fcuny-org.el24
-rw-r--r--emacs.d/init.el2
2 files changed, 26 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
new file mode 100644
index 0000000..8b47fa0
--- /dev/null
+++ b/emacs.d/custom/fcuny-org.el
@@ -0,0 +1,24 @@
+(use-package org
+  :ensure t
+  :hook ((org-mode . visual-line-mode)
+         (org-mode . org-indent-mode))
+  :custom
+  (org-startup-indented t)
+  (org-directory "~/GDrive/notebooks")
+  (org-default-notes-file (concat org-directory "/inbox.org"))
+  (org-agenda-start-on-weekday 1)
+  (org-capture-templates
+   (quote (("t" "Todo" entry
+            (file+headline "~/GDrive/notebooks/personal/todo.org" "New")
+            "* TODO %?\n")
+           ("T" "Work Todo" entry
+            (file+headline "~/GDrive/notebooks/twitter/todo.org" "New")
+            "* TODO %?\n")
+           ("d" "Diary" entry
+            (file+olp+datetree "~/GDrive/notebooks/personal/diary.org")
+            "* %U %?\n" :tree-type week)
+           ("D" "Work Diary" entry
+            (file+olp+datetree "~/GDrive/notebooks/twitter/diary.org")
+            "* %U %?\n" :tree-type week)))))
+
+(provide 'fcuny-org)
diff --git a/emacs.d/init.el b/emacs.d/init.el
index cdc8e98..44b4a47 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -31,6 +31,8 @@
 (require 'fcuny-git)
 (require 'fcuny-flycheck)
 
+(require 'fcuny-org)
+
 (require 'fcuny-docker)
 (require 'fcuny-json)
 (require 'fcuny-protobuf)