summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/org-config.el13
-rw-r--r--todo.org12
2 files changed, 20 insertions, 5 deletions
diff --git a/modules/org-config.el b/modules/org-config.el
index 555a966b..75d4c7db 100644
--- a/modules/org-config.el
+++ b/modules/org-config.el
@@ -68,11 +68,11 @@
(set-face-attribute 'org-link nil :underline t)
(setq org-ellipsis " ▾") ;; change ellipses to down arrow
- (setq org-hide-emphasis-markers t) ;; remove emphasis markers to keep the screen clean
+ (setq org-hide-emphasis-markers t) ;; hide emphasis markers (org-appear shows them when editing)
(setq org-hide-leading-stars t) ;; hide leading stars, just show one per line
(setq org-pretty-entities t) ;; render special symbols
(setq org-pretty-entities-include-sub-superscripts nil) ;; ...except superscripts and subscripts
- (setq org-fontify-emphasized-text nil) ;; ...and don't render bold and italic markup
+ (setq org-fontify-emphasized-text t) ;; render bold and italic markup
(setq org-fontify-whole-heading-line t) ;; fontify the whole line for headings (for face-backgrounds)
(add-hook 'org-mode-hook 'prettify-symbols-mode))
@@ -221,6 +221,15 @@
(org-superstar-configure-like-org-bullets)
(setq org-superstar-leading-bullet ?\s))
+;; -------------------------------- Org-Appear ---------------------------------
+
+(use-package org-appear
+ :hook (org-mode . org-appear-mode)
+ :custom
+ (org-appear-autoemphasis t) ;; Show * / _ when cursor is on them
+ (org-appear-autolinks t) ;; Also works for links
+ (org-appear-autosubmarkers t)) ;; And sub/superscripts
+
;; ------------------------------- Org-Checklist -------------------------------
;; needed for org-habits to reset checklists once task is complete
diff --git a/todo.org b/todo.org
index 4eab4122..8ef088b8 100644
--- a/todo.org
+++ b/todo.org
@@ -214,7 +214,7 @@ EMMS keybindings conflict with standard buffer keybindings, causing mistypes.
Results in accidental destructive actions (clearing buffers), requires undo + context switch.
Violates Intuitive value - muscle memory should help, not hurt.
-* Method 2: Stop Problems Before They Appear [2/5]
+* Method 2: Stop Problems Before They Appear [3/5]
** TODO [#B] Migrate from Company to Corfu
:PROPERTIES:
@@ -242,9 +242,15 @@ CLOSED: [2025-11-03 Sun]
- treesit-auto continues to manage tree-sitter grammars automatically
- No functionality lost, cleaner dependency tree
-** TODO [#C] Add org-appear (show emphasis markers only when point is on them)
+** DONE [#C] Add org-appear (show emphasis markers only when point is on them)
+CLOSED: [2025-11-03 Sun]
-Cleaner org files, supports Intuitive value.
+✅ Added org-appear package to modules/org-config.el
+- Shows emphasis markers (* / _) only when cursor is on them
+- Also shows link markup and sub/superscripts when editing
+- Changed org-fontify-emphasized-text from nil to t (line 75)
+- Updated comment on line 71 to reference org-appear
+- Cleaner editing experience while maintaining visual clarity
** TODO [#C] Integrate prescient with Corfu (smart sorting)