| 1 |
# |
|---|
| 2 |
# This is an example /etc/todorc file. Modify to suit. This file can also be |
|---|
| 3 |
# placed in ~/.todorc. |
|---|
| 4 |
# |
|---|
| 5 |
|
|---|
| 6 |
# Don't display children |
|---|
| 7 |
filter -children |
|---|
| 8 |
|
|---|
| 9 |
# Specify colours |
|---|
| 10 |
#colour title=+green |
|---|
| 11 |
#colour info=green |
|---|
| 12 |
#colour veryhigh=+red |
|---|
| 13 |
#colour high=yellow |
|---|
| 14 |
#colour medium=white |
|---|
| 15 |
#colour low=cyan |
|---|
| 16 |
#colour verylow=blue |
|---|
| 17 |
|
|---|
| 18 |
# Turn summary mode on |
|---|
| 19 |
#summary |
|---|
| 20 |
|
|---|
| 21 |
# Be generally paranoid about file ownerships and permissions |
|---|
| 22 |
#paranoid |
|---|
| 23 |
|
|---|
| 24 |
# The database to use if --global or -G is specified |
|---|
| 25 |
global-database $HOME/.todo_global |
|---|
| 26 |
|
|---|
| 27 |
# Try binary format database, then XML |
|---|
| 28 |
#database-loaders binary,xml |
|---|
| 29 |
|
|---|
| 30 |
# Keep two backups of the database |
|---|
| 31 |
#backup 2 |
|---|
| 32 |
|
|---|
| 33 |
# Sort items by whether they are completed, then priority, then creation time |
|---|
| 34 |
# then finally by the text. |
|---|
| 35 |
sort -done,priority,-created,-text |
|---|
| 36 |
|
|---|
| 37 |
# Display date in a more Australian/UK friendly format. |
|---|
| 38 |
#date-format %d/%m/%y, %H:%M |
|---|
| 39 |
|
|---|
| 40 |
# Display date in American wierd-arse format. |
|---|
| 41 |
#format date=%m/%d/%y, %H:%M |
|---|
| 42 |
|
|---|
| 43 |
# Default display format |
|---|
| 44 |
#format display=%4>%i%[info]%f%2n.%[priority]%+1T |
|---|
| 45 |
#format verbose-display=%4>%i%[info]%f%2n.(added %c) %[priority]%+1T |
|---|
| 46 |
#format generated=%2>%i- %+1T\n |
|---|
| 47 |
#format verbose-generated=%2>%i- (added %c, completed %d) %+1T\n |
|---|
| 48 |
|
|---|
| 49 |
# User-defined formats. These can be used to use different formatted displays. |
|---|
| 50 |
# |
|---|
| 51 |
#format full-report=%i%[info]%f%2n.%[priority]%+1T%+1i%[info]Added: %[normal]%c %[info]Completed: %[normal]%d\n%+1i%[info]Duration: %[normal]%D %[info]Priority: %[normal]%p\n\n |
|---|
| 52 |
# Override the display format to use "full-report". |
|---|
| 53 |
#use-format display=full-report |
|---|
| 54 |
|
|---|
| 55 |
# Force removal of world and group permissions from database when created |
|---|
| 56 |
#on create { |
|---|
| 57 |
# exec chmod 600 $TODODB |
|---|
| 58 |
#} |
|---|
| 59 |
|
|---|
| 60 |
# When saving a database, also create a HTML version as .todo.html. |
|---|
| 61 |
# This requires the libxslt library from xmlsoft.org in addition to the XSLT |
|---|
| 62 |
# file in the devtodo contrib directory. |
|---|
| 63 |
#on save { |
|---|
| 64 |
# exec xsltproc /home/athomas/projects/todo/contrib/todo2html.xslt $TODODB > `dirname $TODODB`/.todo.html |
|---|
| 65 |
# exec chmod 600 `dirname $TODODB`/.todo.html |
|---|
| 66 |
#} |
|---|
| 67 |
|
|---|
| 68 |
# Make todo verbose when adding, editing or changing the title so that prompts |
|---|
| 69 |
# will be displayed. |
|---|
| 70 |
on add verbose |
|---|
| 71 |
on edit verbose |
|---|
| 72 |
on title verbose |
|---|
| 73 |
|
|---|
| 74 |
# Use default priorities when editing, adding or grafting. This supresses |
|---|
| 75 |
# prompting for the priority. |
|---|
| 76 |
#priority default |
|---|