about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-05 11:53:56 -0600
committerCase Duckworth2021-01-05 11:53:56 -0600
commitf9a7cafcb52b3fb5cbf0bf2ad4e92fefb6dab952 (patch)
tree10cda523c01ced419bcad1d5d29d4d6170504d1c
parentRemove the Rasmus segment (diff)
downloademacs-f9a7cafcb52b3fb5cbf0bf2ad4e92fefb6dab952.tar.gz
emacs-f9a7cafcb52b3fb5cbf0bf2ad4e92fefb6dab952.zip
Configure org-mode
-rw-r--r--config.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/config.org b/config.org index a239658..f37248e 100644 --- a/config.org +++ b/config.org
@@ -1268,6 +1268,8 @@ I’ve put org mode under Applications, as opposed to Writing, because it’s m
1268 (cuss org-directory "~/Org") 1268 (cuss org-directory "~/Org")
1269 (cuss org-ellipsis "…") 1269 (cuss org-ellipsis "…")
1270 (cuss org-catch-invisible-edits 'show) 1270 (cuss org-catch-invisible-edits 'show)
1271 (cuss org-special-ctrl-a/e t)
1272 (cuss org-special-ctrl-k t)
1271 1273
1272 (cuss org-export-headline-levels 8 1274 (cuss org-export-headline-levels 8
1273 "Maximum level of headlines to export /as/ a headline.") 1275 "Maximum level of headlines to export /as/ a headline.")
@@ -1287,6 +1289,20 @@ I’ve put org mode under Applications, as opposed to Writing, because it’s m
1287 (variable-pitch)))))) 1289 (variable-pitch))))))
1288#+end_src 1290#+end_src
1289 1291
1292**** Prettify
1293
1294 #+begin_src emacs-lisp
1295 (defun acdw/org-mode-prettify ()
1296 "Prettify `org-mode'."
1297 (dolist (cell '(("[ ]" . ?□) ("[X]" . ?☑) ("[-]" . ?◐)
1298 ("#+begin_src" . ?✎) ("#+BEGIN_SRC" . ?✎)
1299 ("#+end_src" . ?■) ("#+END_SRC" . ?■)))
1300 (add-to-list 'prettify-symbols-alist cell :append))
1301 (prettify-symbols-mode +1))
1302
1303 (add-hook 'org-mode-hook #'acdw/org-mode-prettify)
1304 #+end_src
1305
1290*** General 1306*** General
1291 1307
1292**** [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][Org Return: DWIM]] 1308**** [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][Org Return: DWIM]]
@@ -1462,6 +1478,9 @@ I’ve put org mode under Applications, as opposed to Writing, because it’s m
1462 (cuss org-todo-keywords 1478 (cuss org-todo-keywords
1463 '((sequence "RECUR(r)" "TODO(t)" "|" "DONE(d)") 1479 '((sequence "RECUR(r)" "TODO(t)" "|" "DONE(d)")
1464 (sequence "|" "CANCELLED(c)"))) 1480 (sequence "|" "CANCELLED(c)")))
1481
1482 (cuss org-agenda-skip-scheduled-if-done t)
1483 (cuss org-agenda-skip-deadline-if-done t)
1465#+END_SRC 1484#+END_SRC
1466 1485
1467*** TODO Capture 1486*** TODO Capture