From 645dc2bb08a612d356cfd59075cc371f25e2996d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 8 Apr 2019 08:40:53 -0700 Subject: [emacs] Back to using org-mode. I've really made a mistake when I stopped using org-mode. At the time I probably went overboard by trying to do to much with it. Now I need to rethink a workflow and how to use it efficiently for work and personal stuff. --- emacs.d/custom/fcuny-org.el | 24 ++++++++++++++++++++++++ emacs.d/init.el | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 emacs.d/custom/fcuny-org.el (limited to 'emacs.d') 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) -- cgit 1.4.1