diff options
Diffstat (limited to 'attic/elisp')
-rw-r--r-- | attic/elisp/misc.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el index fb15520..5021465 100644 --- a/attic/elisp/misc.el +++ b/attic/elisp/misc.el @@ -1282,3 +1282,18 @@ It should be the title of the web page as returned by `rdrview'" ("C" "copy URL" mastodon-toot--copy-toot-url) ("?" "help" describe-mode) ("q" "quit" transient-quit-one)])) + +;;; org-modern +(use-package org-modern + :ensure t + :init + (setq org-modern-fold-stars + '(("▶" . "▼") ("▷" . "▽") ("▶" . "▼") ("▹" . "▿") ("▸" . "▾"))) + + (define-derived-mode jao-org-inbox-mode org-mode + "Org inbox" + (org-indent-mode) + (org-modern-mode)) + + (add-to-list 'auto-mode-alist '("inbox\\.org\\'" . jao-org-inbox-mode)) + (add-hook 'org-agenda-finalize-hook #'org-modern-agenda)) |