From 2cc59cf768b9586513a5cdcab81dbdff1ee1064c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 1 May 2022 09:24:57 -0500 Subject: Add +org-wrap-on-hyphens --- init.el | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 4ca4c3c..825ff9e 100644 --- a/init.el +++ b/init.el @@ -629,14 +629,10 @@ #'turn-off-auto-fill #'org-indent-mode #'prettify-symbols-mode - ;; TODO: This is only the beginning of a larger idea: I really want the - ;; "buffer stats" section of the mode-line to change depending on the - ;; mode. So like, org-mode would be a word count (maybe other text - ;; modes?), lui-modes could be .... something? etc. - (defun turn-off-column-number-mode () (setq-local column-number-mode nil))) - (:local-set prettify-symbols-alist '(("DEADLINE:" . ?→)✓ + #'+org-wrap-on-hyphens) + (:local-set prettify-symbols-alist '(("DEADLINE:" . ?→) ("SCHEDULED:" . ?↷) - ("CLOSED:" ?✓)) + ("CLOSED:" . ?✓)) ;;+modeline-position-function #'+org-count-words-stupidly ) (:local-hook user-save-hook #'+org-before-save@prettify-buffer) -- cgit 1.4.1-21-gabe81