AnthonyDiGirolamo / todotxt-machine

an interactive terminal based todo.txt file editor with an interface similar to mutt
https://pypi.python.org/pypi/todotxt-machine/
GNU General Public License v3.0
244 stars 37 forks source link

Add saved filter #19

Open kidpixo opened 9 years ago

kidpixo commented 9 years ago

I just discovered todotxt-machine and I love it! I would like to see a way to save and re-run a filter: maybe adding a shortcut to save and name the actual filter and list them after the < Clear Filters > could be doable. The filters list could be also stored in the .rc configuration file something like:

customfilter = myawesomefilters

[customfilter-myawesomefilters]
work_na= "@work +na"
personal_na_nosomedays = "@work +na -someday"
errands_na_today = "@errands due:today"

that could be extended to custom searches too.

Thank you for you work!

AnthonyDiGirolamo commented 9 years ago

Thanks @kidpixo this is a great idea! I'll look into adding it.

kidpixo commented 9 years ago

you are welcome !