Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefilled Entries #23

Open
Querschlag opened this issue Mar 30, 2015 · 2 comments
Open

Prefilled Entries #23

Querschlag opened this issue Mar 30, 2015 · 2 comments

Comments

@Querschlag
Copy link

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.

@kespindler
Copy link

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?

@Querschlag
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants