31 lines
667 B
Plaintext
31 lines
667 B
Plaintext
# todo.nanorc - a nanorc for todo.txt
|
|
|
|
syntax "todo.txt" "todo\.txt|done\.txt|report\.txt|archive\.txt"
|
|
|
|
# tasks
|
|
icolor brightwhite ".*"
|
|
icolor brightblack "^x.*$"
|
|
|
|
# priorities
|
|
icolor brightblack "\([tT-zZ]\).*$"
|
|
icolor normal "\([mM-sS]\).*$"
|
|
icolor brightwhite "\([fF-lL]\).*$"
|
|
icolor cyan "\([eE]\).*$"
|
|
icolor brightmagenta "\([dD]\).*$"
|
|
icolor brightyellow "\([cC]\).*$"
|
|
icolor brightcyan "\([bB]\).*$"
|
|
icolor brightgreen "\([aA]\).*$"
|
|
|
|
# contexts
|
|
icolor brightwhite,blue "\@.\S+"
|
|
|
|
# projects
|
|
icolor brightwhite,cyan "\+\S+"
|
|
|
|
# completion date
|
|
icolor cyan "[0-9][0-9][0-9][0-9]-\S+"
|
|
icolor brightcyan "(T)[0-9][0-9]\:\S+"
|
|
|
|
# due date
|
|
icolor red "(pri:|due:)\S+"
|