Doom: Add ttm-org-clear-all for groceries
This commit is contained in:
@@ -60,6 +60,14 @@
|
||||
;; Make C-h kill a word in Ivy, for symmetry with C-j/k/l bindings.
|
||||
(map! :map ivy-mode-map "C-h" #'ivy-backward-kill-word)
|
||||
|
||||
;; Clear all todo statuses in org-mode. For Grocery list.
|
||||
(defun ttm-org-clear-all ()
|
||||
(interactive)
|
||||
(org-map-entries
|
||||
(lambda ()
|
||||
(org-todo "")))
|
||||
(message "Entries cleared."))
|
||||
|
||||
;; Here are some additional functions/macros that could help you configure Doom:
|
||||
;;
|
||||
;; - `load!' for loading external *.el files relative to this one
|
||||
|
||||
Reference in New Issue
Block a user