Open Querschlag opened 9 years ago
hey @Querschlag this is a great idea. Are you still interested in this feature? do you have a spec in mind for this? In my branch, I started creating macros which expand into fields in the item. Example, !t
gets replayed with due:<today>
. I'm wondering if you have a similar or different idea in mind?
It's been a while, but I'm still using todotxt-machine and haven't implemented this myself, so yeah ;)
The kind of prefill I had in mind were the currently filtered project and context when creating a new entry. So say if I applied a filter like "@ContextA, +ProjectB" these values should already in place when hitting "n" to create a new entry, as well as the current date.
Your macro would be a prefect addition to quickly insert values that could not be inferred.
I just quit using jdotxt as my main tool for editing todotxt files and it's way faster and usable. However one thing I'm missing are default values for new entries. For example when I'm using various filter on my todo list it would be cool to have these already filled in when creating a new todo list entry - yeah, I know about auto completion ;) I also couldn't find a way to add the current date to freshly created entries. Adding the date via a command or automatically would also be a huge help.