Magic incantation to get org-superstar working
Seems that since this package has both an `org-superstar` and a `org-superstar-mode`, the standard `:hook` picks up the wrong one.
This commit is contained in:
parent
7b732934d5
commit
4ed8572a77
1 changed files with 15 additions and 2 deletions
|
@ -62,7 +62,9 @@ Now that headers are noticeable, I have no reason to see a number of asterisks.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package org-superstar
|
(use-package org-superstar
|
||||||
|
:after org
|
||||||
:straight (:type git :protocol ssh :host github :repo "integral-dw/org-superstar-mode")
|
:straight (:type git :protocol ssh :host github :repo "integral-dw/org-superstar-mode")
|
||||||
|
:hook (org-mode . org-superstar-mode)
|
||||||
:init
|
:init
|
||||||
(setq org-superstar-headline-bullets-list '("▶")
|
(setq org-superstar-headline-bullets-list '("▶")
|
||||||
org-superstar-special-todo-items nil
|
org-superstar-special-todo-items nil
|
||||||
|
@ -70,10 +72,21 @@ Now that headers are noticeable, I have no reason to see a number of asterisks.
|
||||||
org-superstar-prettify-item-bullets t
|
org-superstar-prettify-item-bullets t
|
||||||
org-superstar-item-bullet-alist '((42 . "⊙") ; *
|
org-superstar-item-bullet-alist '((42 . "⊙") ; *
|
||||||
(43 . "⁍") ; +
|
(43 . "⁍") ; +
|
||||||
(45 . "•")))
|
(45 . "•"))))
|
||||||
:hook org-mode)
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
If this works, then we get the prettier bulleted list:
|
||||||
|
|
||||||
|
* Top bullets
|
||||||
|
* Plus bullets:
|
||||||
|
+ Apples
|
||||||
|
+ Oranges
|
||||||
|
+ Bananas
|
||||||
|
* Minus bullets:
|
||||||
|
- Dogs
|
||||||
|
- Cats
|
||||||
|
- Birds
|
||||||
|
|
||||||
Oh, and as I indent lists, they should change the /bulleting/ in a particular sequence. If I begin with an =*= asterisk, I walk down the chain, but with the dashed bullets (my default choice), I just stay with dashed bullets. Numeric bullets should cycle:
|
Oh, and as I indent lists, they should change the /bulleting/ in a particular sequence. If I begin with an =*= asterisk, I walk down the chain, but with the dashed bullets (my default choice), I just stay with dashed bullets. Numeric bullets should cycle:
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
Loading…
Reference in a new issue