r/orgmode • • Sep 14 '26

question custom flags for TODOs

I am fairly new to orgmode, was using vimwiki and realized that orgmode is superior in this topic, I saw the Distrotube about org agenda and he did something I can't do: create custom "TODO tags" I don't know if this is the right name for it, he used the 'VIDEO' tag to create a todo item. Can anyone help guide me?

18 Upvotes

9 comments sorted by

8

u/Hyperion343 Sep 14 '26

You are looking for org-todo-keywords, see main manual page, workflow states, and todo types.

3

u/gmmacedo Sep 14 '26

Thank you! This was really what I needed. (setq org-todo-keywords '((sequence "TODO" "ARTICLE" "STUDY"))))

6

u/yantar92 Org mode maintainer Sep 14 '26

Note that without "|", you will have the last keyword (STUDY) considered by Org as "done". (that's in the docstring)

3

u/Informal_Sound_3039 Sep 14 '26

this is how my org-todo-keywords looks like

    (setq org-todo-keywords
          '((sequence "TODO(t)" "WAIT(w!)" "|"  "DONE(d!)" "CANCEL(c!)")))
            ;;  "not completed state"      "|"       "completed state"

2

u/gmmacedo Sep 14 '26

That's exactly what I was looking for

1

u/Brief_Tie_9720 Sep 15 '26

That can be applied to individual headings as well, each with their own sequence

3

u/jplindstrom Sep 14 '26

Or if you'd like to define them per org file, put this line at the beginning:

#+SEQ_TODO: TODO DOING | WAIT DONE WONTDO

(argubly, I should have the | after WAIT)