commit ea29f0a88229b52accc3baed850880eb63626fc1
parent c625969329c84519a43e3d7abc7726737ecde69a
Author: michaelneuper <michael@michaelneuper.com>
Date: Mon, 26 May 2025 13:56:27 +0200
update org-modern config
- remove prettyfying of tables, todos and priorities
- change fold stars
- change checkboxes
- remove keyword replacements
- change tag colours
Diffstat:
| M | config.org | | | 62 | +++++++++++++++++++++++++------------------------------------- |
1 file changed, 25 insertions(+), 37 deletions(-)
diff --git a/config.org b/config.org
@@ -647,8 +647,9 @@ See https://gist.github.com/karthink/0ac48411a81459c0f3fd7557c4e817db.
"C" #'org-download-rename-at-point)
#+end_src
**** eye candy ([[doom-module:+pretty]])
-=org-modern= config modified from [[https://sophiebos.io/posts/beautifying-emacs-org-mode/][https://sophiebos.io/posts/beautifying-emacs-org-mode/]].
+Requires a nerd font.
#+begin_src emacs-lisp
+;; modified from https://sophiebos.io/posts/beautifying-emacs-org-mode/
(after! org-modern
(setq org-auto-align-tags t
org-tags-column 0
@@ -656,6 +657,11 @@ See https://gist.github.com/karthink/0ac48411a81459c0f3fd7557c4e817db.
org-special-ctrl-a/e t
org-insert-heading-respect-content t
+ org-modern-table nil
+ org-modern-todo nil
+ org-modern-priority nil
+ org-modern-progress 6
+
;; agenda
org-agenda-tags-column 0
org-agenda-block-separator ?─
@@ -667,47 +673,29 @@ See https://gist.github.com/karthink/0ac48411a81459c0f3fd7557c4e817db.
"⭠ now ─────────────────────────────────────────────────"
;; text replacements
+ org-modern-fold-stars
+ `(("◉" . "○" )
+ ("◈" . "◇" )
+ ("◉" . "○" )
+ ("◈" . "◇" )
+ ("◉" . "○" ))
+ org-modern-checkbox
+ '((88 . "")
+ (45 . "")
+ (32 . ""))
org-modern-block-name
'((t . t)
("src" "──»" "──«")
("example" "─»»" "─««")
("quote" "─ ❝" "─ ❞")
- ("export" "⏩" "⏪"))
- org-modern-keyword
- '((t . t)
- ("title" . "𝙏")
- ("subtitle" . "𝙩")
- ("author" . "𝘼")
- ("filetags" . "")
- ("email" . "")
- ("date" . "")
- ("property" . "")
- ("options" . #("" 0 1 (display (height 0.75))))
- ("startup" . "⏻")
- ("macro" . "𝓜")
- ("bind" . "")
- ("bibliography" . "")
- ("print_bibliography" . "")
- ("cite_export" . "⮭")
- ("print_glossary" . "ᴬᶻ")
- ("glossary_sources" . "")
- ("include" . "⇤")
- ("setupfile" . "⇚")
- ("html_head" . "🅷")
- ("html" . "🅗")
- ("latex_class" . "🄻")
- ("latex_class_options" . "🄻")
- ("latex_header" . "🅻")
- ("latex_header_extra" . "🅻⁺")
- ("latex" . "🅛")
- ("attr_latex" . "🄛")
- ("attr_html" . "🄗")
- ("attr_org" . "⒪")
- ("call" . "")
- ("name" . "⁍")
- ("header" . "›")
- ("caption" . "☰")
- ("results" . "🠶"))))
+ ("export" "⏩" "⏪")))
+
+ (custom-set-faces!
+ `(org-modern-label :inherit 'fixed-pitch)
+ `(org-modern-tag :height 0.8
+ ;; :inherit 'fixed-pitch
+ :background ,(doom-color 'fg-alt)
+ :foreground ,(doom-color 'bg-alt))))
(after! org-appear
(setq org-hide-emphasis-markers t