-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Unable to map numeric shortcut to a another key #527
Comments
I've started experiencing this as well. |
This could potentially be related to this issue: I’ll have to look into it over the weekend. Can you use the previous version until then? |
Sure. No rush. Thanks for looking into it. |
I just ran into this too. @kdheepak It looks to me like those values simply are not loaded from the config. i.e. something like let shortcut0 = Self::get_config("uda.taskwarrior-tui.keyconfig.shortcut0", data);
// ...
self.shortcut0 = shortcut0.unwrap_or(self.shortcut0); |
You are right! Wow, I could have sworn I had implemented that. Interested in making a PR? If not, I can fix it the next time I'm at my personal computer. |
I misunderstood the ask here. Sorry for the confusion. This was never implemented to begin with, an artifact of the fact that key configuration was adding after shortcuts were introduced. Currently it is only possible to have shortcuts bound to 1-9 keys. I'll enable different key shortcuts as part of the refactor/rewrite. Here's the tracking issue: #349 |
@kdheepak Ahh ok I see! Thanks for the update. But wouldn't it be as simple as adding the additional lines for the shortcut 0-9 in the area I linked above? Just wondering because if that is a quick fix that could be made before the refactoring/rewrite, then it would at least get the shortcuts as documented a bit sooner |
I don't think it is just those additional lines, but similar lines will work. Currently, shortcuts are mapped like this:
As brought up in #520, I think using the |
I've just submitted a PR about this (#532) |
Describe the bug
In my configuration, shortcut 1 is mapped to a custom script:
uda.taskwarrior-tui.shortcuts.1=/path/to/custom_script.py
This works. However, I am unable to remap the shortcut key
1
tob
or any other key. This does not work:uda.taskwarrior-tui.keyconfig.shortcut1=b
Environment
Binary from github
taskwarrior-tui-x86_64-unknown-linux-musl.tar.gz
taskwarrior-tui 0.25.4
task 2.6.1
I am sure I am missing something basic here. Kindly help.
The text was updated successfully, but these errors were encountered: