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

Macro support #555

Open
MaciejWieczor opened this issue Apr 28, 2024 · 2 comments
Open

Macro support #555

MaciejWieczor opened this issue Apr 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@MaciejWieczor
Copy link

Description

I'd love to just press a key combination and call a specific report filter instead of typing the whole thing down.

Solution

Maybe adding a system of mapping keys to ":TEXT" style macros?
For example (in a config file):

map rh ":(status pending and project:Home)"

Additional context

I've been using "vit" but I find taskwarrior-tui a bit prettier. I just don't know any rust to implement something like this.
In "vit" the macro configuration look like this (look under [keybinding] and the look for macros):

https://github.com/vit-project/vit/blob/2.x/vit/config/config.sample.ini

@MaciejWieczor MaciejWieczor added the enhancement New feature or request label Apr 28, 2024
@kdheepak
Copy link
Owner

Thanks for opening an issue and suggesting this feature! I think it's a cool idea. I'll have to think about how to go about implementing it.

Realistically it won't happen until after the #521 and after I have sorted some stuff out some irl events :)

@kaytrance
Copy link

any update on this one?
I was desperately googling to find out how can I remap "1" to show completed items by applying my filter (that show not all completed items, but items completed in last 24h) but it seems that currently it is not possible, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants