VladimirMarkelov / ttdl

TTDL - Terminal Todo List Manager
MIT License
209 stars 17 forks source link

[Feature Request] Allow setting the default sorting via config file #25

Closed eugnma closed 5 years ago

eugnma commented 5 years ago

Finally I found a project I can switch form Todo.txt CLI, but I cannot set the default sorting which is implemented in Todo.txt CLI, is it possible to add the feature in TTDL?

VladimirMarkelov commented 5 years ago

I think it is possible. I just have to find out what sorting modes are available in Todo.txt CLI - I have never used since.

VladimirMarkelov commented 5 years ago

Did you mean sort by priority? I see that it does not work in TTDL as expected. I'll look into it

eugnma commented 5 years ago

Did you mean sort by priority? I see that it does not work in TTDL as expected. I'll look into it

Currently I can sort with command options (e.g. ttdl ls -s=,due), but I would like set it as the default sorting via config file, means If I use ttdl ls without sorting, it uses the default sorting from config file.

VladimirMarkelov commented 5 years ago

Done! And crate is updated. I hope it is what you need :)

New sort option in general section - please check the end of updated ttdl.toml in repository.

eugnma commented 5 years ago

Cool, this is what I wanted 👍, thanks!