integral-dw / org-superstar-mode

Make org-mode stars a little more super
GNU General Public License v3.0
500 stars 21 forks source link

Replace the TODO and DONE keywords with unicode? #32

Closed linwaytin closed 3 years ago

linwaytin commented 3 years ago

Thanks for this great package, which makes org-mode appear like other fancy todo manager. For now I use org-superstar-special-todo-items option to make the leading stars become a checkbox depending on TODO and DONE keywords. Is there a way to keep the leading stars and replace the TODO and DONE keywords with the checkbox? For example, instead of ☑ DONE I would like to have ♠ ☑, where ♠ is the bullet replacing the leading star.

thibautbenjamin commented 3 years ago

You don't need the org-superstar-special-todo-items for that, just use the regular org-superstar configuration and add

    (push '("TODO" . "☐") prettify-symbols-alist)
    (push '("DONE" . "☑") prettify-symbols-alist)
    (prettify-symbols-mode)

as a hook for org-mode

linwaytin commented 3 years ago

Thanks, that works!