From c918211dcd9cb0d8c8cb30274c9b81004e6d8315 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 12 Mar 2021 17:20:49 -0600 Subject: Configure `org-mode'. --- init.el | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 3466c12..849cd24 100644 --- a/init.el +++ b/init.el @@ -369,6 +369,31 @@ (acdw/set `((eshell-directory-name ,(acdw/in-dir "eshell/" t)) (eshell-aliases-file ,(acdw/in-dir "eshell/aliases" t)))) +;;; Org-mode +(acdw/pkg (org + :repo "https://code.orgmode.org/bzg/org-mode.git") + :now ((require 'acdw-org)) + :set `((org-directory "~/org") + (org-hide-emphasis-markers t) + (org-fontify-whole-heading-line t) + (org-fontify-done-headline t) + (org-fontify-quote-and-verse-blocks t) + (org-src-fontify-natively t) + (org-pretty-entities t) + (org-tags-column ,(- 0 fill-column -3)) + (org-src-tab-acts-natively t) + (org-src-window-setup current-window) + (org-confirm-babel-evaluate nil) + (org-adapt-indentation nil) + (org-catch-invisible-edits smart) + (org-special-ctrl-a/e t) + (org-special-ctrl-k t) + (org-imenu-depth 3) + (org-export-headline-levels 8) + (org-export-with-smart-quotes t) + (org-export-with-sub-superscripts t)) + :hooks ((before-save-hook acdw/hook--org-mode-fix-blank-lines))) + ;;; Programming languages ;; Emacs lisp -- cgit 1.4.1-21-gabe81