Emacs config updates

This commit is contained in:
2024-04-09 12:09:23 -07:00
parent 1a0ee5f081
commit 3f5d0b0247
8 changed files with 118 additions and 129 deletions

View File

@@ -0,0 +1,23 @@
(provide 'thoom-org)
(use-package org
:bind (("C-c o ," . thoom/org-clear-all))
:custom
(org-todo-keywords '((sequence "TODO(t)" "BLOCKED(b)" "|" "DONE(d)"))))
(use-package org-bullets
:ensure t
:config
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
;; Eagerly load org-mode
(with-temp-buffer (org-mode))
(defun thoom/org-clear-all ()
(interactive)
(goto-char 0)
(org-map-entries
(lambda ()
(org-todo "")))
;;(flush-lines "CLOSED")
(message "Entries cleared."))