ADD: Two level sort function

This commit add the first interesting difference from freitass original
version. It provides a two level sort function which allow the user to sort
the todo by project (or context) then by priority.

TODO: Maybe think about three level sort (project, context, priority) in any
order.
This commit is contained in:
David Beniamine
2014-10-09 14:58:43 +02:00
parent 45aa73bf5e
commit c26351fdb6
4 changed files with 136 additions and 5 deletions

View File

@@ -42,9 +42,9 @@ syntax match TodoContext ' @[^[:blank:]]\+' contains=NONE
" Other priority colours might be defined by the user
highlight default link TodoDone Comment
highlight default link TodoPriorityA Constant
highlight default link TodoPriorityB Statement
highlight default link TodoPriorityC Identifier
highlight default link TodoPriorityA Identifier
highlight default link TodoPriorityB statement
highlight default link TodoPriorityC type
highlight default link TodoDate PreProc
highlight default link TodoProject Special
highlight default link TodoContext Special