(defvar fcuny/org-directory "~/notes") (use-package org :mode ("\\.org$" . org-mode) :ensure t :bind ( ("C-c c" . org-capture) ("C-c a" . org-agenda)) :config (progn (add-hook 'org-mode-hook #'toggle-word-wrap) (org-babel-do-load-languages 'org-babel-load-languages '((scheme . 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 fcuny/org-directory org-default-notes-file (concat org-directory "/refile.org") org-refile-targets '((org-agenda-files . (:maxlevel . 6))) org-outline-path-complete-in-steps t 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") ("rb" . "https://reviewboard.twitter.biz/r/%s") ("go" . "http://go/%s") ("gdoc" . "https://docs.google.com/document/d/%s") ("gsheet" . "https://docs.google.com/spreadsheets/d/%s")) 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)